function EntityFormDisplayEditForm::getDisplayModeOptions
Same name in other branches
- 9 core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php \Drupal\field_ui\Form\EntityFormDisplayEditForm::getDisplayModeOptions()
- 10 core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php \Drupal\field_ui\Form\EntityFormDisplayEditForm::getDisplayModeOptions()
- 11.x core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php \Drupal\field_ui\Form\EntityFormDisplayEditForm::getDisplayModeOptions()
Overrides EntityDisplayFormBase::getDisplayModeOptions
File
-
core/
modules/ field_ui/ src/ Form/ EntityFormDisplayEditForm.php, line 78
Class
- EntityFormDisplayEditForm
- Edit form for the EntityFormDisplay entity type.
Namespace
Drupal\field_ui\FormCode
protected function getDisplayModeOptions() {
return $this->entityDisplayRepository
->getFormModeOptions($this->entity
->getTargetEntityTypeId());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.