DateTimeItem::DATETIME_TYPE_DATETIME

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

Value for the 'datetime_type' setting: store a date and time.

File

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

Class

DateTimeItem
Plugin implementation of the 'datetime' field type.

Namespace

Drupal\datetime\Plugin\Field\FieldType

Code

const DATETIME_TYPE_DATETIME = 'datetime';

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