public function FullcalendarViewProcessorManager::__construct in Fullcalendar View 5.x
Same name and namespace in other branches
- 8.3 src/Plugin/FullcalendarViewProcessorManager.php \Drupal\fullcalendar_view\Plugin\FullcalendarViewProcessorManager::__construct()
- 6.x src/Plugin/FullcalendarViewProcessorManager.php \Drupal\fullcalendar_view\Plugin\FullcalendarViewProcessorManager::__construct()
Constructs a new FullcalendarViewProcessorManager object.
Parameters
\Traversable $namespaces: An object that implements \Traversable which contains the root paths keyed by the corresponding namespace to look for plugin implementations.
\Drupal\Core\Cache\CacheBackendInterface $cache_backend: Cache backend instance to use.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to invoke the alter hook with.
Overrides DefaultPluginManager::__construct
File
- src/
Plugin/ FullcalendarViewProcessorManager.php, line 26
Class
- FullcalendarViewProcessorManager
- Provides the Fullcalendar view processor plugin manager.
Namespace
Drupal\fullcalendar_view\PluginCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/FullcalendarViewProcessor', $namespaces, $module_handler, 'Drupal\\fullcalendar_view\\Plugin\\FullcalendarViewProcessorInterface', 'Drupal\\fullcalendar_view\\Annotation\\FullcalendarViewProcessor');
$this
->alterInfo('fullcalendar_view_fullcalendar_view_processor_info');
$this
->setCacheBackend($cache_backend, 'fullcalendar_view_fullcalendar_view_processor_plugins');
}