You are here

public function TaxonomyPermissions::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/src/TaxonomyPermissions.php \Drupal\taxonomy\TaxonomyPermissions::__construct()

Constructs a TaxonomyPermissions instance.

Parameters

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

File

core/modules/taxonomy/src/TaxonomyPermissions.php, line 40

Class

TaxonomyPermissions
Provides dynamic permissions of the taxonomy module.

Namespace

Drupal\taxonomy

Code

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