You are here

abstract protected function EntityDisplayFormBase::getDisplayModeOptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.
2 methods override EntityDisplayFormBase::getDisplayModeOptions()
EntityFormDisplayEditForm::getDisplayModeOptions in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Returns an array of form or view mode options.
EntityViewDisplayEditForm::getDisplayModeOptions in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Returns an array of form or view mode options.

File

core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 798
Contains \Drupal\field_ui\Form\EntityDisplayFormBase.

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

protected abstract function getDisplayModeOptions();