function TaxonomyPermissions::__construct

Same name in other branches
  1. 8.9.x core/modules/taxonomy/src/TaxonomyPermissions.php \Drupal\taxonomy\TaxonomyPermissions::__construct()
  2. 10 core/modules/taxonomy/src/TaxonomyPermissions.php \Drupal\taxonomy\TaxonomyPermissions::__construct()
  3. 11.x 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 34

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.