You are here

public function AlterEntityBrowserDisplayData::getFormState in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Events/AlterEntityBrowserDisplayData.php \Drupal\entity_browser\Events\AlterEntityBrowserDisplayData::getFormState()

Gets form state.

Return value

\Drupal\Core\Form\FormStateInterface Form state object.

File

src/Events/AlterEntityBrowserDisplayData.php, line 60

Class

AlterEntityBrowserDisplayData
Allows data for an entity browser element to be altered.

Namespace

Drupal\entity_browser\Events

Code

public function getFormState() {
  return $this->formState;
}