public function WidgetSelectorInterface::submit in Entity Browser 8
Same name and namespace in other branches
- 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_browserCode
public function submit(array &$form, FormStateInterface $form_state);