Same name in other branches
- 8.x-4.x src/ViewsSlideshowWidgetPluginManager.php \Drupal\views_slideshow\ViewsSlideshowWidgetPluginManager::__construct()
Constructs a new ViewsSlideshowWidgetPluginManager.
Paramètres
\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.
Fichier
-
src/
ViewsSlideshowWidgetPluginManager.php, line 25
Classe
- ViewsSlideshowWidgetPluginManager
- Manager for Views Slideshow Widget plugins.
Namespace
Drupal\views_slideshowCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/ViewsSlideshowWidget', $namespaces, $module_handler, 'Drupal\\views_slideshow\\ViewsSlideshowWidgetInterface', 'Drupal\\views_slideshow\\Annotation\\ViewsSlideshowWidget');
$this->alterInfo('views_slideshow_widget_info');
$this->setCacheBackend($cache_backend, 'views_slideshow_widget');
}