You are here

public function TaxonomyPermissions::__construct in Taxonomy Permissions 8

Constructor.

Parameters

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

File

src/TaxonomyPermissions.php, line 31

Class

TaxonomyPermissions
Defines a class for dynamic permissions based on vocabularies.

Namespace

Drupal\taxonomy_permissions

Code

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