You are here

public function EditableFieldsForm::getFormDisplay in Editable Fields 8

Same name and namespace in other branches
  1. 1.0.x src/Form/EditableFieldsForm.php \Drupal\editablefields\Form\EditableFieldsForm::getFormDisplay()

Loads a form display mode.

Return value

\Drupal\Core\Entity\Display\EntityFormDisplayInterface|NULL Display mode.

2 calls to EditableFieldsForm::getFormDisplay()
EditableFieldsForm::buildForm in src/Form/EditableFieldsForm.php
Form constructor.
EditableFieldsForm::submitForm in src/Form/EditableFieldsForm.php
Form submission handler.

File

src/Form/EditableFieldsForm.php, line 174

Class

EditableFieldsForm
Class EditableFieldsForm.

Namespace

Drupal\editablefields\Form

Code

public function getFormDisplay() {
  return $this->editablefieldsHelper
    ->getFormDisplay($this->entity, $this->form_mode);
}