abstract protected function EntityDisplayFormBase::getDisplayModeOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModeOptions()
- 9 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModeOptions()
Returns an array of form or view mode options.
Return value
array An array of form or view mode options.
1 call to EntityDisplayFormBase::getDisplayModeOptions()
- EntityDisplayFormBase::form in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Gets the actual form array to be built.
1 method overrides EntityDisplayFormBase::getDisplayModeOptions()
- EntityFormDisplayEditForm::getDisplayModeOptions in core/
modules/ field_ui/ src/ Form/ EntityFormDisplayEditForm.php - Returns an array of form or view mode options.
File
- core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php, line 791
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
protected abstract function getDisplayModeOptions();