constant TimeFieldFormatter::HOURS_OPTIONAL in Time Formatter 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/TimeFieldFormatter.php \Drupal\time_formatter\Plugin\Field\FieldFormatter\TimeFieldFormatter::HOURS_OPTIONAL
Denotes that the Hours component should be displayed only if hours > 0.
File
- src/
Plugin/ Field/ FieldFormatter/ TimeFieldFormatter.php, line 63
Class
- TimeFieldFormatter
- Plugin implementation of the 'time_field_formatter' formatter.
Namespace
Drupal\time_formatter\Plugin\Field\FieldFormatterCode
const HOURS_OPTIONAL = 1;