You are here

protected function EntityBrowserForm::isSelectionCompleted in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/Form/EntityBrowserForm.php \Drupal\entity_browser\Form\EntityBrowserForm::isSelectionCompleted()

Indicates selection is done.

Parameters

\Drupal\Core\Form\FormStateInterface $form_state: Form state.

Return value

bool Indicates selection is done.

1 call to EntityBrowserForm::isSelectionCompleted()
EntityBrowserForm::submitForm in src/Form/EntityBrowserForm.php
Form submission handler.

File

src/Form/EntityBrowserForm.php, line 292

Class

EntityBrowserForm
The entity browser form.

Namespace

Drupal\entity_browser\Form

Code

protected function isSelectionCompleted(FormStateInterface $form_state) {
  return (bool) $form_state
    ->get([
    'entity_browser',
    'selection_completed',
  ]);
}