You are here

public function WidgetSelectorBase::submit in Entity Browser 8

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

Submits form.

Parameters

array $form: Form.

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

Return value

string The selected widget ID.

Overrides WidgetSelectorInterface::submit

2 methods override WidgetSelectorBase::submit()
DropDown::submit in src/Plugin/EntityBrowser/WidgetSelector/DropDown.php
Submits form.
Tabs::submit in src/Plugin/EntityBrowser/WidgetSelector/Tabs.php
Submits form.

File

src/WidgetSelectorBase.php, line 109

Class

WidgetSelectorBase
Base class for widget selector plugins.

Namespace

Drupal\entity_browser

Code

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