TimestampFormatter::CUSTOM_DATE_FORMAT

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php \Drupal\Core\Field\Plugin\Field\FieldFormatter\TimestampFormatter::CUSTOM_DATE_FORMAT

Used to specify a date format that is customizable by user.

File

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

Class

TimestampFormatter
Plugin implementation of the 'timestamp' formatter.

Namespace

Drupal\Core\Field\Plugin\Field\FieldFormatter

Code

protected const CUSTOM_DATE_FORMAT = 'custom';

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