You are here

public function WidgetBase::settingsSummary in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Field/WidgetBase.php \Drupal\Core\Field\WidgetBase::settingsSummary()

Returns a short summary for the current widget settings.

If an empty result is returned, a UI can still be provided to display a settings form in case the widget has configurable settings.

Return value

array A short summary of the widget settings.

Overrides WidgetInterface::settingsSummary

15 methods override WidgetBase::settingsSummary()
BooleanCheckboxWidget::settingsSummary in core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php
Returns a short summary for the current widget settings.
DateRangeDatelistWidget::settingsSummary in core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeDatelistWidget.php
Returns a short summary for the current widget settings.
DateTimeDatelistWidget::settingsSummary in core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php
Returns a short summary for the current widget settings.
EmailDefaultWidget::settingsSummary in core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EmailDefaultWidget.php
Returns a short summary for the current widget settings.
EntityReferenceAutocompleteWidget::settingsSummary in core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/EntityReferenceAutocompleteWidget.php
Returns a short summary for the current widget settings.

... See full list

File

core/lib/Drupal/Core/Field/WidgetBase.php, line 533

Class

WidgetBase
Base class for 'Field widget' plugin implementations.

Namespace

Drupal\Core\Field

Code

public function settingsSummary() {
  return [];
}