public function ConditionCreatorManager::__construct in Block Visibility Groups 8
Constructor.
Parameters
\Traversable $namespaces:
\Drupal\Core\Cache\CacheBackendInterface $cache_backend:
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler:
Overrides DefaultPluginManager::__construct
File
- block_visibility_groups_admin/
src/ ConditionCreatorManager.php, line 22
Class
- ConditionCreatorManager
- A Plugin.
Namespace
Drupal\block_visibility_groups_adminCode
public function __construct(\Traversable $namespaces, CacheBackendInterface $cache_backend, ModuleHandlerInterface $module_handler) {
parent::__construct('Plugin/ConditionCreator', $namespaces, $module_handler, 'Drupal\\block_visibility_groups_admin\\Plugin\\ConditionCreatorInterface', 'Drupal\\block_visibility_groups_admin\\Annotation\\ConditionCreator');
$this
->alterInfo('block_visibility_condition_creator');
$this
->setCacheBackend($cache_backend, 'block_visibility_groups_admin:creator');
}