BibciteLinkPluginManager.php in Bibliography & Citation 8
File
modules/bibcite_entity/src/Plugin/BibciteLinkPluginManager.php
View source
<?php
namespace Drupal\bibcite_entity\Plugin;
use Drupal\Core\Plugin\DefaultPluginManager;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Extension\ModuleHandlerInterface;
class BibciteLinkPluginManager extends DefaultPluginManager {
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/bibcite/link', $namespaces, $module_handler, 'Drupal\\bibcite_entity\\Plugin\\BibciteLinkPluginInterface', 'Drupal\\bibcite_entity\\Annotation\\BibciteLink');
$this
->alterInfo('bibcite_entity_bibcite_link_info');
$this
->setCacheBackend($cache_backend, 'bibcite_entity_bibcite_link_plugins');
}
}