Same name and namespace in other branches
  1. 5.0.x src/ViewsSlideshowWidgetTypePluginManager.php \Drupal\views_slideshow\ViewsSlideshowWidgetTypePluginManager::__construct()

Constructs a new ViewsSlideshowWidgetTypePluginManager.

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/ViewsSlideshowWidgetTypePluginManager.php, line 25

Classe

ViewsSlideshowWidgetTypePluginManager
Manager for Views Slideshow widget type plugins.

Namespace

Drupal\views_slideshow

Code

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');
}