Skip to content

API reference

This is an automatically generated documentation for Git Host.

Namespaces

### \

Hooks

Hook Description
hook_git_provider_info_alter() Alters the Git provider plugin definitions.

\Drupal\git_host

Classes

Class Description
GitApi Reads data from the hosts of Git repositories, with cached responses.
GitProviderManager Manages Git provider plugins, such as GitHub.

Interfaces

Interface Description
GitProviderInterface Reads repositories from a Git host's API, such as GitHub's.

\Drupal\git_host\Attribute

Classes

Class Description
GitProvider Defines a Git provider plugin, such as GitHub.

\Drupal\git_host\Plugin\GitProvider

Classes

Class Description
GitHub Reads repositories on github.com and GitHub Enterprise hosts.
GitLab Reads repositories on gitlab.com and self-managed GitLab hosts.

\Drupal\git_host\Plugin\KeyType

Classes

Class Description
GitHostTokenKeyType A token for a Git host, such as GitHub or a GitHub Enterprise host.