DateTimeFormatterBase::$dateFormatter
The date formatter service.
Type: \Drupal\Core\Datetime\DateFormatterInterface
File
-
core/
modules/ datetime/ src/ Plugin/ Field/ FieldFormatter/ DateTimeFormatterBase.php, line 26
Class
- DateTimeFormatterBase
- Base class for 'DateTime Field formatter' plugin implementations.
Namespace
Drupal\datetime\Plugin\Field\FieldFormatterCode
protected $dateFormatter;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.