API reference
This is an automatically generated documentation for Git Field.
Namespaces
\Drupal\git_field\Hook
Classes
| Class | Description |
|---|---|
GitFieldHooks |
Hook implementations for Git Field. |
\Drupal\git_field\Plugin\Field\FieldFormatter
Classes
| Class | Description |
|---|---|
ComposerPackageVersion |
Shows the version of a package in the repository's composer.lock. |
GitHubActionsVariables |
Shows the names of a GitHub repository's Actions variables or secrets. |
GitHubDependabotAlerts |
Shows the number of open Dependabot alerts in a GitHub repository. |
GitRepositoryFormatterBase |
Base formatter for data read from a repository's host. |
GitRepositoryLink |
Links to the repository, with its path (owner/name) as the text. |
RepositoryFileData |
Shows a value from a JSON or YAML file in the repository. |
\Drupal\git_field\Plugin\Field\FieldType
Classes
| Class | Description |
|---|---|
GitRepository |
Stores a Git repository as its URL, such as https://github.com/owner/name. |
\Drupal\git_field\Plugin\Field\FieldWidget
Classes
| Class | Description |
|---|---|
GitRepositoryWidget |
A text field for a repository on a set host, and optionally a set owner. |
\Drupal\git_field\Plugin\Validation\Constraint
Classes
| Class | Description |
|---|---|
GitRepositoryConstraint |
Checks that a value is a repository on a host that can be used. |
GitRepositoryConstraintValidator |
Validates the GitRepository constraint. |