You are here

abstract protected function EntityDisplayFormBase::getDisplayModesLink in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModesLink()
  2. 10 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.

1 call to EntityDisplayFormBase::getDisplayModesLink()
EntityDisplayFormBase::form in core/modules/field_ui/src/Form/EntityDisplayFormBase.php
Gets the actual form array to be built.
2 methods override EntityDisplayFormBase::getDisplayModesLink()
EntityFormDisplayEditForm::getDisplayModesLink in core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php
Returns a link to the form or view mode admin page.
EntityViewDisplayEditForm::getDisplayModesLink in core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php
Returns a link to the form or view mode admin page.

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

protected abstract function getDisplayModesLink();