function EntityDisplayFormBase::getDisplayModesLink
Same name in other branches
- 9 core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModesLink()
- 8.9.x core/modules/field_ui/src/Form/EntityDisplayFormBase.php \Drupal\field_ui\Form\EntityDisplayFormBase::getDisplayModesLink()
- 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
2 methods override EntityDisplayFormBase::getDisplayModesLink()
- EntityFormDisplayEditForm::getDisplayModesLink in core/
modules/ field_ui/ src/ Form/ EntityFormDisplayEditForm.php - EntityViewDisplayEditForm::getDisplayModesLink in core/
modules/ field_ui/ src/ Form/ EntityViewDisplayEditForm.php
File
-
core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php, line 825
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
protected abstract function getDisplayModesLink();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.