DateTimeItem::DATETIME_TYPE_DATE

Same name in other branches
  1. 9 core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItem::DATETIME_TYPE_DATE
  2. 10 core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItem::DATETIME_TYPE_DATE
  3. 11.x core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItem::DATETIME_TYPE_DATE

Value for the 'datetime_type' setting: store only a date.

File

core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php, line 38

Class

DateTimeItem
Plugin implementation of the 'datetime' field type.

Namespace

Drupal\datetime\Plugin\Field\FieldType

Code

const DATETIME_TYPE_DATE = 'date';

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