protected function GeneralNumberWithMinMaxFormatter::getDescription in Formatter Suite 8
Returns a brief description of the formatter.
Return value
string Returns a brief translated description of the formatter.
Overrides GeneralNumberFormatter::getDescription
File
- src/
Plugin/ Field/ FieldFormatter/ GeneralNumberWithMinMaxFormatter.php, line 140
Class
- GeneralNumberWithMinMaxFormatter
- Formats with a variety of notation styles and includes field min/max.
Namespace
Drupal\formatter_suite\Plugin\Field\FieldFormatterCode
protected function getDescription() {
return $this
->t('Format values along with the field\'s minimum and maximum, such as "0 ≤ 5 ≤ 10", "5 in [0,10]", or "5 out of 10". Use one of the available formats, or create a custom format.');
}