class FieldLayoutEntityViewDisplayEditForm in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm
- 9 core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm
Edit form for the EntityViewDisplay entity type.
@internal
Hierarchy
- class \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm extends \Drupal\field_ui\Form\EntityViewDisplayEditForm uses \Drupal\field_layout\Form\FieldLayoutEntityDisplayFormTrait
Expanded class hierarchy of FieldLayoutEntityViewDisplayEditForm
1 file declares its use of FieldLayoutEntityViewDisplayEditForm
- field_layout.module in core/
modules/ field_layout/ field_layout.module - Provides hook implementations for Field Layout.
File
- core/
modules/ field_layout/ src/ Form/ FieldLayoutEntityViewDisplayEditForm.php, line 18
Namespace
Drupal\field_layout\FormView source
class FieldLayoutEntityViewDisplayEditForm extends EntityViewDisplayEditForm {
use FieldLayoutEntityDisplayFormTrait;
/**
* FieldLayoutEntityViewDisplayEditForm constructor.
*
* @param \Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_manager
* The field type manager.
* @param \Drupal\Component\Plugin\PluginManagerBase $plugin_manager
* The formatter plugin manager.
* @param \Drupal\Core\Layout\LayoutPluginManagerInterface $layout_plugin_manager
* The field layout plugin manager.
* @param \Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository
* The entity display_repository.
* @param \Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager
* The entity field manager.
*/
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;
}
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container) {
return new static($container
->get('plugin.manager.field.field_type'), $container
->get('plugin.manager.field.formatter'), $container
->get('plugin.manager.core.layout'), $container
->get('entity_display.repository'), $container
->get('entity_field.manager'));
}
}