You are here

abstract protected function EntityDisplayFormBase::getDisplayModes in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModes()
  2. 10 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModes()

Returns the form or view modes used by this form.

Return value

array An array of form or view mode info.

1 call to EntityDisplayFormBase::getDisplayModes()
EntityDisplayFormBase::submitForm in core/modules/field_ui/src/Form/EntityDisplayFormBase.php
This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
2 methods override EntityDisplayFormBase::getDisplayModes()
EntityFormDisplayEditForm::getDisplayModes in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Returns the form or view modes used by this form.
EntityViewDisplayEditForm::getDisplayModes in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Returns the form or view modes used by this form.

File

core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 783

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

protected abstract function getDisplayModes();