function EntityDisplayFormBase::getDisplayModesLink

Same name and namespace in other branches
  1. 11.x core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModesLink()

Returns a link to the form or view mode admin page.

Return value

array An array of a form element to be rendered as a link.

File

core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 799

Class

EntityDisplayFormBase
Base class for EntityDisplay edit forms.

Namespace

Drupal\field_ui\Form

Code

abstract protected function getDisplayModesLink();

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