You are here

public function ContentRoleManager::__construct in Lightning Core 8.3

Same name and namespace in other branches
  1. 8.5 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()
  2. 8 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()
  3. 8.2 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()
  4. 8.4 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()

ContentRoleManager constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Entity\Query\QueryFactory $entity_query: The entity query factory.

File

modules/lightning_roles/src/ContentRoleManager.php, line 35

Class

ContentRoleManager
A service for managing the configuration and deployment of content roles.

Namespace

Drupal\lightning_roles

Code

public function __construct(ConfigFactoryInterface $config_factory, QueryFactory $entity_query) {
  $this->configFactory = $config_factory;
  $this->entityQuery = $entity_query;
}