protected EntityFormDisplayEditForm::getDisplayModeOptions()
Returns an array of form or view mode options.
Return value
array An array of form or view mode options.
Overrides EntityDisplayFormBase::getDisplayModeOptions
File
- core/modules/field_ui/src/Form/EntityFormDisplayEditForm.php, line 74
Class
- EntityFormDisplayEditForm
- Edit form for the EntityFormDisplay entity type.
Namespace
Drupal\field_ui\Form
Code
protected function getDisplayModeOptions() { return $this->entityManager->getFormModeOptions($this->entity->getTargetEntityTypeId()); }
Please login to continue.