You are here

protected function PluginAlter::__construct in Block Blacklist [Deprecated] 8

PluginAlter constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Configuration factory.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager service.

\Drupal\block_blacklist\Blacklist $blacklist_service: The Block Blacklist service.

File

src/PluginAlter.php, line 47

Class

PluginAlter
Implementation callbacks for plugin alter hooks.

Namespace

Drupal\block_blacklist

Code

protected function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, Blacklist $blacklist_service) {
  $this->configFactory = $config_factory;
  $this->entityTypeManager = $entity_type_manager;
  $this->blacklistService = $blacklist_service;
  $this
    ->setUp();
}