You are here

public function FullcalendarManager::__construct in FullCalendar 8

Same name and namespace in other branches
  1. 8.5 src/Plugin/FullcalendarManager.php \Drupal\fullcalendar\Plugin\FullcalendarManager::__construct()
  2. 8.2 src/Plugin/FullcalendarManager.php \Drupal\fullcalendar\Plugin\FullcalendarManager::__construct()
  3. 8.3 src/Plugin/FullcalendarManager.php \Drupal\fullcalendar\Plugin\FullcalendarManager::__construct()
  4. 8.4 src/Plugin/FullcalendarManager.php \Drupal\fullcalendar\Plugin\FullcalendarManager::__construct()

Constructs a FullcalendarManager 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/FullcalendarManager.php, line 33

Class

FullcalendarManager
Plugin type manager for FullCalendar plugins.

Namespace

Drupal\fullcalendar\Plugin

Code

public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
  parent::__construct('Plugin/fullcalendar/type', $namespaces, $module_handler, 'Drupal\\fullcalendar\\Plugin\\FullcalendarInterface', 'Drupal\\fullcalendar\\Annotation\\FullcalendarOption');
}