public function FormatterBase::settingsSummary in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::settingsSummary()
Returns a short summary for the current formatter settings.
If an empty result is returned, a UI can still be provided to display a settings form in case the formatter has configurable settings.
Return value
string[] A short summary of the formatter settings.
Overrides FormatterInterface::settingsSummary
5 calls to FormatterBase::settingsSummary()
- DateTimeFormatterBase::settingsSummary in core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeFormatterBase.php - Returns a short summary for the current formatter settings.
- DescriptionAwareFileFormatterBase::settingsSummary in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ DescriptionAwareFileFormatterBase.php - Returns a short summary for the current formatter settings.
- OEmbedFormatter::settingsSummary in core/
modules/ media/ src/ Plugin/ Field/ FieldFormatter/ OEmbedFormatter.php - Returns a short summary for the current formatter settings.
- TimestampAgoFormatter::settingsSummary in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ TimestampAgoFormatter.php - Returns a short summary for the current formatter settings.
- TimestampFormatter::settingsSummary in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ TimestampFormatter.php - Returns a short summary for the current formatter settings.
22 methods override FormatterBase::settingsSummary()
- BooleanFormatter::settingsSummary in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ BooleanFormatter.php - Returns a short summary for the current formatter settings.
- CommentDefaultFormatter::settingsSummary in core/
modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php - Returns a short summary for the current formatter settings.
- DateTimeFormatterBase::settingsSummary in core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeFormatterBase.php - Returns a short summary for the current formatter settings.
- DescriptionAwareFileFormatterBase::settingsSummary in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ DescriptionAwareFileFormatterBase.php - Returns a short summary for the current formatter settings.
- DummyAjaxFormatter::settingsSummary in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ Field/ FieldFormatter/ DummyAjaxFormatter.php - Returns a short summary for the current formatter settings.
File
- core/
lib/ Drupal/ Core/ Field/ FormatterBase.php, line 131
Class
- FormatterBase
- Base class for 'Field formatter' plugin implementations.
Namespace
Drupal\Core\FieldCode
public function settingsSummary() {
return [];
}