class FieldLayoutEntityViewDisplayEditForm
Same name and namespace in other branches
- 11.x core/modules/field_layout/src/Form/FieldLayoutEntityViewDisplayEditForm.php \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm
Edit form for the EntityViewDisplay entity type.
@internal
Hierarchy
- class \Drupal\Core\Form\FormBase extends \Drupal\Core\Form\FormInterface, \Drupal\Core\DependencyInjection\ContainerInjectionInterface uses \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Logger\LoggerChannelTrait, \Drupal\Core\Messenger\MessengerTrait, \Drupal\Core\Routing\RedirectDestinationTrait, \Drupal\Core\StringTranslation\StringTranslationTrait
- class \Drupal\Core\Entity\EntityForm extends \Drupal\Core\Entity\EntityFormInterface implements \Drupal\Core\Form\FormBase
- class \Drupal\field_ui\Form\EntityDisplayFormBase implements \Drupal\Core\Entity\EntityForm
- class \Drupal\field_ui\Form\EntityViewDisplayEditForm implements \Drupal\field_ui\Form\EntityDisplayFormBase
- class \Drupal\field_layout\Form\FieldLayoutEntityViewDisplayEditForm uses \Drupal\field_layout\Form\FieldLayoutEntityDisplayFormTrait implements \Drupal\field_ui\Form\EntityViewDisplayEditForm
- class \Drupal\field_ui\Form\EntityViewDisplayEditForm implements \Drupal\field_ui\Form\EntityDisplayFormBase
- class \Drupal\field_ui\Form\EntityDisplayFormBase implements \Drupal\Core\Entity\EntityForm
- class \Drupal\Core\Entity\EntityForm extends \Drupal\Core\Entity\EntityFormInterface implements \Drupal\Core\Form\FormBase
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'));
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.