protected function TimestampTimeAgoListFormatter::getDescription in Formatter Suite 8
Returns a brief description of the formatter.
Return value
string Returns a brief translated description of the formatter.
Overrides EntityListTrait::getDescription
File
- src/
Plugin/ Field/ FieldFormatter/ TimestampTimeAgoListFormatter.php, line 39
Class
- TimestampTimeAgoListFormatter
- Formats multiple timestamps interpreted as time ago as a list.
Namespace
Drupal\formatter_suite\Plugin\Field\FieldFormatterCode
protected function getDescription() {
return $this
->t("Format multi-value timestamp fields as a list. Values are used to calculate a time period between the current date and the field's date. The time period is presented with a selected granularity.");
}