You are here

public function EntityPermissionsRouteProvider::__construct in Drupal 10

Constructs a new EntityPermissionsRouteProvider.

Parameters

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

File

core/modules/user/src/Entity/EntityPermissionsRouteProvider.php, line 39

Class

EntityPermissionsRouteProvider
Provides routes for the entity permissions form.

Namespace

Drupal\user\Entity

Code

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