public function ImageUrlFormatter::settingsSummary in Drupal 9
Same name and namespace in other branches
- 8 core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php \Drupal\image\Plugin\Field\FieldFormatter\ImageUrlFormatter::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 ImageFormatter::settingsSummary
File
- core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageUrlFormatter.php, line 45
Class
- ImageUrlFormatter
- Plugin implementation of the 'image_url' formatter.
Namespace
Drupal\image\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary = parent::settingsSummary();
return [
$summary[0],
];
}