function EntityDisplayFormBase::getDisplayModes

Same name and namespace in other branches
  1. 11.x 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.

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

abstract protected function getDisplayModes();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.