TimestampFormatter::$time

The time service.

Type: \Drupal\Component\Datetime\TimeInterface

File

core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php, line 59

Class

TimestampFormatter
Plugin implementation of the 'timestamp' formatter.

Namespace

Drupal\Core\Field\Plugin\Field\FieldFormatter

Code

protected $time;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.