public function ContentEntityFormInterface::getFormDisplay
public ContentEntityFormInterface::getFormDisplay(FormStateInterface $form_state)
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.
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);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityFormInterface.php/function/ContentEntityFormInterface::getFormDisplay/8.1.x