You are here

public function CustomPermissions::__construct in Custom Permissions 8

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

Constructs a new FilterPermissions instance.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_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(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}