You are here

public function UrlAliasPermPermissions::__construct in URL Alias Permissions 8

Constructs a UrlAliasPermPermissions instance.

Parameters

\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

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

File

src/UrlAliasPermPermissions.php, line 51

Class

UrlAliasPermPermissions
Provides dynamic permissions for the url_alias_permissions module.

Namespace

Drupal\url_alias_permissions

Code

public function __construct(EntityFieldManagerInterface $entity_field_manager, EntityTypeBundleInfoInterface $entity_type_bundle_info, EntityTypeManagerInterface $entity_type_manager) {
  $this->entityFieldManager = $entity_field_manager;
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
  $this->entityTypeManager = $entity_type_manager;
}