You are here

public function FieldWidgetDisplayBase::settingsForm in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/FieldWidgetDisplayBase.php \Drupal\entity_browser\FieldWidgetDisplayBase::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.

Overrides FieldWidgetDisplayInterface::settingsForm

3 methods override FieldWidgetDisplayBase::settingsForm()
EntityLabel::settingsForm in src/Plugin/EntityBrowser/FieldWidgetDisplay/EntityLabel.php
Returns a form to configure settings for the plugin.
ImageThumbnail::settingsForm in src/Plugin/EntityBrowser/FieldWidgetDisplay/ImageThumbnail.php
Returns a form to configure settings for the plugin.
RenderedEntity::settingsForm in src/Plugin/EntityBrowser/FieldWidgetDisplay/RenderedEntity.php
Returns a form to configure settings for the plugin.

File

src/FieldWidgetDisplayBase.php, line 32

Class

FieldWidgetDisplayBase
Base implementation for field widget display plugins.

Namespace

Drupal\entity_browser

Code

public function settingsForm(array $form, FormStateInterface $form_state) {
  return [];
}