Same name and namespace in other branches
- 5.0.x src/ViewsSlideshowWidgetTypePluginManager.php \Drupal\views_slideshow\ViewsSlideshowWidgetTypePluginManager::__construct()
Constructs a new ViewsSlideshowWidgetTypePluginManager.
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.
File
-
src/
ViewsSlideshowWidgetTypePluginManager.php, line 25
Class
- ViewsSlideshowWidgetTypePluginManager
- Manager for Views Slideshow widget type plugins.
Namespace
Drupal\views_slideshowCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/ViewsSlideshowWidgetType', $namespaces, $module_handler, 'Drupal\\views_slideshow\\ViewsSlideshowWidgetTypeInterface', 'Drupal\\views_slideshow\\Annotation\\ViewsSlideshowWidgetType');
$this->alterInfo('views_slideshow_widget_type_info');
$this->setCacheBackend($cache_backend, 'views_slideshow_widget_type');
}