public function ConfigPermsAccessCheck::__construct in Custom Permissions 8.2
Constructor.
Parameters
\Drupal\Core\Session\AccountInterface $account: Run access checks for this account.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Entity Type Manager.
File
- src/
Access/ ConfigPermsAccessCheck.php, line 31
Class
- ConfigPermsAccessCheck
- Checks access for custom_perms routes.
Namespace
Drupal\config_perms\AccessCode
public function __construct(AccountInterface $account, EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}