You are here

public function WidgetBase::submit in Entity Browser 8

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

Submits form.

Parameters

array $element: Widget part of the form.

array $form: Form.

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

Overrides WidgetInterface::submit

5 methods override WidgetBase::submit()
DummyWidget::submit in tests/modules/entity_browser_test/src/Plugin/EntityBrowser/Widget/DummyWidget.php
Submits form.
EntityForm::submit in modules/entity_form/src/Plugin/EntityBrowser/Widget/EntityForm.php
Submits form.
MultipleSubmitTestWidget::submit in tests/modules/entity_browser_test/src/Plugin/EntityBrowser/Widget/MultipleSubmitTestWidget.php
Submits form.
Upload::submit in src/Plugin/EntityBrowser/Widget/Upload.php
Submits form.
View::submit in src/Plugin/EntityBrowser/Widget/View.php
Submits form.

File

src/WidgetBase.php, line 330

Class

WidgetBase
Base class for widget plugins.

Namespace

Drupal\entity_browser

Code

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