public function EntityFormControllerInterface::getFormDisplay

Returns the form display.

Parameters

array $form_state: An associative array containing the current state of the form.

Return value

\Drupal\entity\EntityFormDisplayInterface The current form display.

1 method overrides EntityFormControllerInterface::getFormDisplay()
EntityFormController::getFormDisplay in drupal/core/lib/Drupal/Core/Entity/EntityFormController.php
Returns the form display.

File

drupal/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php, line 57
Contains \Drupal\Core\Entity\EntityFormControllerInterface.

Class

EntityFormControllerInterface
Defines a common interface for entity form controller classes.

Namespace

Drupal\Core\Entity

Code

public function getFormDisplay(array $form_state);