You are here

public function FieldUiPermissions::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/FieldUiPermissions.php \Drupal\field_ui\FieldUiPermissions::__construct()

Constructs a new FieldUiPermissions instance.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/field_ui/src/FieldUiPermissions.php, line 35
Contains \Drupal\field_ui\FieldUiPermissions.

Class

FieldUiPermissions
Provides dynamic permissions of the field_ui module.

Namespace

Drupal\field_ui

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}