You are here

public function WidgetSelectorInterface::submit in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/WidgetSelectorInterface.php \Drupal\entity_browser\WidgetSelectorInterface::submit()

Submits form.

Parameters

array $form: Form.

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

Return value

string The selected widget ID.

1 method overrides WidgetSelectorInterface::submit()
WidgetSelectorBase::submit in src/WidgetSelectorBase.php
Submits form.

File

src/WidgetSelectorInterface.php, line 66

Class

WidgetSelectorInterface
Defines the interface for entity browser widget selectors.

Namespace

Drupal\entity_browser

Code

public function submit(array &$form, FormStateInterface $form_state);