public function WidgetInterface::settingsSummary in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/WidgetInterface.php \Drupal\Core\Field\WidgetInterface::settingsSummary()
- 9 core/lib/Drupal/Core/Field/WidgetInterface.php \Drupal\Core\Field\WidgetInterface::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.
1 method overrides WidgetInterface::settingsSummary()
- WidgetBase::settingsSummary in core/
lib/ Drupal/ Core/ Field/ WidgetBase.php - Returns a short summary for the current widget settings.
File
- core/
lib/ Drupal/ Core/ Field/ WidgetInterface.php, line 46
Class
- WidgetInterface
- Interface definition for field widget plugins.
Namespace
Drupal\Core\FieldCode
public function settingsSummary();