public function InvitePluginManager::__construct in Invite 8
Construct.
Overrides DefaultPluginManager::__construct
File
- src/
InvitePluginManager.php, line 17
Class
- InvitePluginManager
- Class for Plugin Manager.
Namespace
Drupal\inviteCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/Invite', $namespaces, $module_handler, 'Drupal\\invite\\InvitePluginInterface', 'Drupal\\Component\\Annotation\\Plugin');
$this
->alterInfo('invite_plugin_info');
$this
->setCacheBackend($cache_backend, 'invite_plugin_info');
}