You are here

public function FieldableEdgeEntityForm::getFormDisplay in Apigee Edge 8

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.

Overrides FieldableEdgeEntityFormInterface::getFormDisplay

File

src/Entity/Form/FieldableEdgeEntityForm.php, line 183

Class

FieldableEdgeEntityForm
Base entity form for fieldable Apigee Edge entity types.

Namespace

Drupal\apigee_edge\Entity\Form

Code

public function getFormDisplay(FormStateInterface $form_state) {
  return $form_state
    ->get('form_display');
}