public function ContentRoleManager::__construct in Lightning Core 8.3
Same name and namespace in other branches
- 8.5 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()
- 8 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()
- 8.2 modules/lightning_roles/src/ContentRoleManager.php \Drupal\lightning_roles\ContentRoleManager::__construct()
- 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_rolesCode
public function __construct(ConfigFactoryInterface $config_factory, QueryFactory $entity_query) {
$this->configFactory = $config_factory;
$this->entityQuery = $entity_query;
}