You are here

public function FieldWidgetDisplayInterface::settingsForm in Entity Browser 8

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

Returns a form to configure settings for the plugin.

Parameters

array $form: The form where the settings form is being included in.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

array The form definition for the widget settings.

1 method overrides FieldWidgetDisplayInterface::settingsForm()
FieldWidgetDisplayBase::settingsForm in src/FieldWidgetDisplayBase.php
Returns a form to configure settings for the plugin.

File

src/FieldWidgetDisplayInterface.php, line 39

Class

FieldWidgetDisplayInterface
Defines the interface for entity browser field widget display plugins.

Namespace

Drupal\entity_browser

Code

public function settingsForm(array $form, FormStateInterface $form_state);