function ContentEntityForm::getFormDisplay
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityForm.php \Drupal\Core\Entity\ContentEntityForm::getFormDisplay()
- 8.9.x core/lib/Drupal/Core/Entity/ContentEntityForm.php \Drupal\Core\Entity\ContentEntityForm::getFormDisplay()
- 10 core/lib/Drupal/Core/Entity/ContentEntityForm.php \Drupal\Core\Entity\ContentEntityForm::getFormDisplay()
Overrides ContentEntityFormInterface::getFormDisplay
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityForm.php, line 349
Class
- ContentEntityForm
- Entity form variant for content entity types.
Namespace
Drupal\Core\EntityCode
public function getFormDisplay(FormStateInterface $form_state) {
return $form_state->get('form_display');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.