function FieldLayoutEntityViewDisplayEditForm::__construct

Same name in other branches
  1. 8.9.x core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm::__construct()
  2. 10 core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm::__construct()
  3. 11.x 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;
}

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