public function Count::settingsSummary in Field Count Formatter 8
Same name and namespace in other branches
- 2.x src/Plugin/Field/FieldFormatter/Count.php \Drupal\field_count_formatter\Plugin\Field\FieldFormatter\Count::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 FormatterBase::settingsSummary
File
- src/
Plugin/ Field/ FieldFormatter/ Count.php, line 28 - Contains \Drupal\field_count_formatter\Plugin\Field\FieldFormatter\Count.
Class
- Count
- Plugin implementation of the 'CountFormatter' formatter.
Namespace
Drupal\field_count_formatter\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
return array(
t('Displays the number of items/count.'),
);
}