Skip to content

GitProviderManager

Manages Git provider plugins, such as GitHub.


  • Full name: \Drupal\git_host\GitProviderManager
  • Parent class: DefaultPluginManager

Methods

__construct

Constructs a GitProviderManager.

public __construct(\Traversable $namespaces, \Drupal\Core\Cache\CacheBackendInterface $cache_backend, \Drupal\Core\Extension\ModuleHandlerInterface $module_handler): mixed

Parameters:

Parameter Type Description
$namespaces \Traversable
The namespaces to look for plugins in.
$cache_backend \Drupal\Core\Cache\CacheBackendInterface
The cache backend.
$module_handler \Drupal\Core\Extension\ModuleHandlerInterface
The module handler.