EntityDisplayModeFormBase::init

protected EntityDisplayModeFormBase::init(FormStateInterface $form_state) Initialize the form state and the entity before the first form build. Overrides EntityForm::init File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 63 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code protected function init(FormStateInterface $form_state) { parent::init($form_state); $this->entityType = $

EntityDisplayModeFormBase::form

public EntityDisplayModeFormBase::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 71 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code public function form(array $form

EntityDisplayModeFormBase::exists

public EntityDisplayModeFormBase::exists($entity_id, array $element) Determines if the display mode already exists. Parameters string|int $entity_id: The entity ID. array $element: The form element. Return value bool TRUE if the display mode exists, FALSE otherwise. File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 105 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code public functio

EntityDisplayModeFormBase::create

public static EntityDisplayModeFormBase::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: Th

EntityDisplayModeFormBase::$queryFactory

The entity query factory. Type: \Drupal\Core\Entity\Query\QueryFactory File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 21 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code protected $queryFactory;

EntityDisplayModeFormBase::$entityType

The entity type definition. Type: \Drupal\Core\Entity\EntityTypeInterface File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 28 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code protected $entityType;

EntityDisplayModeFormBase::$entityManager

The entity manager. Type: \Drupal\Component\Plugin\PluginManagerInterface Overrides EntityForm::$entityManager File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 35 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code protected $entityManager;

EntityDisplayModeFormBase

Provides the generic base class for entity display mode forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\field_ui\Form\EntityDisplayModeFormBase File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line

EntityDisplayModeDeleteForm::getDescription

public EntityDisplayModeDeleteForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides EntityConfirmFormBase::getDescription File core/modules/field_ui/src/Form/EntityDisplayModeDeleteForm.php, line 15 Class EntityDisplayModeDeleteForm Provides the delete form for entity display modes. Namespace Drupal\field_ui\Form Code public function getDescription() { $entity_type = $this->entity->getEntityType(); ret

EntityDisplayModeDeleteForm

Provides the delete form for entity display modes. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses EntityDeleteFor