abstract protected function EntityDisplayFormBase::getDisplayModesLink in Drupal 8
Same name and namespace in other branches
- 9 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 - 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 841
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\FormCode
protected abstract function getDisplayModesLink();