public function IPEAccessManager::__construct in Panels 8.4
Same name and namespace in other branches
- 8.3 panels_ipe/src/Plugin/IPEAccessManager.php \Drupal\panels_ipe\Plugin\IPEAccessManager::__construct()
Constructor for IPEAccessManager objects.
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
- panels_ipe/
src/ Plugin/ IPEAccessManager.php, line 26
Class
- IPEAccessManager
- Provides the IPE Access plugin manager.
Namespace
Drupal\panels_ipe\PluginCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/IPEAccess', $namespaces, $module_handler, 'Drupal\\panels_ipe\\Plugin\\IPEAccessInterface', 'Drupal\\panels_ipe\\Annotation\\IPEAccess');
$this
->alterInfo('panels_ipe_ipe_access_info');
$this
->setCacheBackend($cache_backend, 'panels_ipe_ipe_access_plugins');
}