public function BibciteFormatManager::__construct in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x src/Plugin/BibciteFormatManager.php \Drupal\bibcite\Plugin\BibciteFormatManager::__construct()
Constructs a BibciteFormatManager object.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use.
Overrides DefaultPluginManager::__construct
File
- src/
Plugin/ BibciteFormatManager.php, line 28
Class
- BibciteFormatManager
- Provides the default bibcite_format manager.
Namespace
Drupal\bibcite\PluginCode
public function __construct(ModuleHandlerInterface $module_handler, CacheBackendInterface $cache_backend) {
$this->moduleHandler = $module_handler;
$this
->setCacheBackend($cache_backend, 'bibcite_format', [
'bibcite_format',
]);
}