You are here

public function FieldLayoutEntityViewDisplayEditForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm::__construct()

FieldLayoutEntityViewDisplayEditForm constructor.

Parameters

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

\Drupal\Component\Plugin\PluginManagerBase $plugin_manager: The formatter plugin manager.

\Drupal\Core\Layout\LayoutPluginManagerInterface $layout_plugin_manager: The field layout plugin manager.

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display_repository.

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

Overrides EntityDisplayFormBase::__construct

File

core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php, line 36

Class

FieldLayoutEntityViewDisplayEditForm
Edit form for the EntityViewDisplay entity type.

Namespace

Drupal\field_layout\Form

Code

public function __construct(FieldTypePluginManagerInterface $field_type_manager, PluginManagerBase $plugin_manager, LayoutPluginManagerInterface $layout_plugin_manager, EntityDisplayRepositoryInterface $entity_display_repository = NULL, EntityFieldManagerInterface $entity_field_manager = NULL) {
  parent::__construct($field_type_manager, $plugin_manager, $entity_display_repository, $entity_field_manager);
  $this->layoutPluginManager = $layout_plugin_manager;
}