abstract protected function EntityDisplayFormBase::getDisplayModes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 790 - Contains \Drupal\field_ui\Form\EntityDisplayFormBase.
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
protected abstract function getDisplayModes();