protected function PluginAlter::__construct in Block List Override 1.0.x
PluginAlter constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Configuration factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager service.
\Drupal\block_list_override\BlockListOverride $list_service: The Block List Override service.
File
- src/
PluginAlter.php, line 47
Class
- PluginAlter
- Implementation callbacks for plugin alter hooks.
Namespace
Drupal\block_list_overrideCode
protected function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, BlockListOverride $list_service) {
$this->configFactory = $config_factory;
$this->entityTypeManager = $entity_type_manager;
$this->listService = $list_service;
$this
->setUp();
}