abstract protected function EntityDisplayFormBase::getDisplayModes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModes()
- 9 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…
1 method overrides EntityDisplayFormBase::getDisplayModes()
- EntityFormDisplayEditForm::getDisplayModes in core/
modules/ field_ui/ src/ Form/ EntityFormDisplayEditForm.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\FormCode
protected abstract function getDisplayModes();