You are here

public function CustomPermissions::__construct in Custom Permissions 8.2

Same name and namespace in other branches
  1. 8 src/CustomPermissions.php \Drupal\config_perms\CustomPermissions::__construct()

Constructs a new FilterPermissions instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.

File

src/CustomPermissions.php, line 30

Class

CustomPermissions
Provides dynamic permissions of the filter module.

Namespace

Drupal\config_perms

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}