function ContentEntityFormInterface::getFormDisplay
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php \Drupal\Core\Entity\ContentEntityFormInterface::getFormDisplay()
- 8.9.x core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php \Drupal\Core\Entity\ContentEntityFormInterface::getFormDisplay()
- 11.x core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php \Drupal\Core\Entity\ContentEntityFormInterface::getFormDisplay()
Gets the form display.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
\Drupal\Core\Entity\Display\EntityFormDisplayInterface The current form display.
1 method overrides ContentEntityFormInterface::getFormDisplay()
- ContentEntityForm::getFormDisplay in core/
lib/ Drupal/ Core/ Entity/ ContentEntityForm.php - Gets the form display.
File
-
core/
lib/ Drupal/ Core/ Entity/ ContentEntityFormInterface.php, line 22
Class
- ContentEntityFormInterface
- Defines a common interface for content entity form classes.
Namespace
Drupal\Core\EntityCode
public function getFormDisplay(FormStateInterface $form_state);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.