You are here

public function WidgetSelectorInterface::getForm in Entity Browser 8

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

Returns widget selector form.

Return value

array Form structure.

3 methods override WidgetSelectorInterface::getForm()
DropDown::getForm in src/Plugin/EntityBrowser/WidgetSelector/DropDown.php
Returns widget selector form.
Single::getForm in src/Plugin/EntityBrowser/WidgetSelector/Single.php
Returns widget selector form.
Tabs::getForm in src/Plugin/EntityBrowser/WidgetSelector/Tabs.php
Returns widget selector form.

File

src/WidgetSelectorInterface.php, line 35

Class

WidgetSelectorInterface
Defines the interface for entity browser widget selectors.

Namespace

Drupal\entity_browser

Code

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