You are here

constant TimeFieldFormatter::STORAGE_MILLISECONDS 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_MILLISECONDS

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

File

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

Class

TimeFieldFormatter
Plugin implementation of the 'time_field_formatter' formatter.

Namespace

Drupal\time_formatter\Plugin\Field\FieldFormatter

Code

const STORAGE_MILLISECONDS = 1;