function EntityViewDisplayEditForm::getDisplayModesLink
Same name in other branches
- 9 core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::getDisplayModesLink()
- 8.9.x core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::getDisplayModesLink()
- 11.x core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php \Drupal\field_ui\Form\EntityViewDisplayEditForm::getDisplayModesLink()
Overrides EntityDisplayFormBase::getDisplayModesLink
File
-
core/
modules/ field_ui/ src/ Form/ EntityViewDisplayEditForm.php, line 119
Class
- EntityViewDisplayEditForm
- Edit form for the EntityViewDisplay entity type.
Namespace
Drupal\field_ui\FormCode
protected function getDisplayModesLink() {
return [
'#type' => 'link',
'#title' => $this->t('Manage view modes'),
'#url' => Url::fromRoute('entity.entity_view_mode.collection'),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.