function FormatterBase::settingsForm

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::settingsForm()
  2. 8.9.x core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::settingsForm()
  3. 11.x core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::settingsForm()

Overrides FormatterInterface::settingsForm

24 methods override FormatterBase::settingsForm()
BaseFieldFileFormatterBase::settingsForm in core/modules/file/src/Plugin/Field/FieldFormatter/BaseFieldFileFormatterBase.php
Returns a form to configure settings for the formatter.
BooleanFormatter::settingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BooleanFormatter.php
Returns a form to configure settings for the formatter.
CommentDefaultFormatter::settingsForm in core/modules/comment/src/Plugin/Field/FieldFormatter/CommentDefaultFormatter.php
Returns a form to configure settings for the formatter.
DateTimeFormatterBase::settingsForm in core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php
Returns a form to configure settings for the formatter.
DescriptionAwareFileFormatterBase::settingsForm in core/modules/file/src/Plugin/Field/FieldFormatter/DescriptionAwareFileFormatterBase.php
Returns a form to configure settings for the formatter.

... See full list

File

core/lib/Drupal/Core/Field/FormatterBase.php, line 134

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.