You are here

constant TimeFieldFormatter::STORAGE_SECONDS in Time Formatter 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Field/FieldFormatter/TimeFieldFormatter.php \Drupal\time_formatter\Plugin\Field\FieldFormatter\TimeFieldFormatter::STORAGE_SECONDS

Denotes that the field value should be treated as number of seconds.

File

src/Plugin/Field/FieldFormatter/TimeFieldFormatter.php, line 28

Class

TimeFieldFormatter
Plugin implementation of the 'time_field_formatter' formatter.

Namespace

Drupal\time_formatter\Plugin\Field\FieldFormatter

Code

const STORAGE_SECONDS = 0;