function FieldReuseAccessCheck::__construct

Same name in other branches
  1. 11.x core/modules/field_ui/src/Access/FieldReuseAccessCheck.php \Drupal\field_ui\Access\FieldReuseAccessCheck::__construct()

Creates a new FieldReuseAccessCheck.

Parameters

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

\Drupal\Core\Field\FieldTypePluginManagerInterface $fieldTypePluginManager: The field type plugin manager.

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

File

core/modules/field_ui/src/Access/FieldReuseAccessCheck.php, line 31

Class

FieldReuseAccessCheck
Defines an access check for the reuse existing fields form.

Namespace

Drupal\field_ui\Access

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, FieldTypePluginManagerInterface $fieldTypePluginManager, EntityFieldManagerInterface $entityFieldManager) {
}

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