Skip to content

GitRepositoryConstraint

Checks that a value is a repository on a host that can be used.


  • Full name: \Drupal\git_field\Plugin\Validation\Constraint\GitRepositoryConstraint
  • Parent class: Constraint

Properties

invalid

The message when the value isn't a repository URL.

public string $invalid

unknownHost

The message when the repository's host can't be used.

public string $unknownHost