protected static property DateTimePlus::$dateParts in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::dateParts
- 9 core/lib/Drupal/Component/Datetime/DateTimePlus.php \Drupal\Component\Datetime\DateTimePlus::dateParts
An array of possible date parts.
File
- core/
lib/ Drupal/ Component/ Datetime/ DateTimePlus.php, line 58
Class
- DateTimePlus
- Wraps DateTime().
Namespace
Drupal\Component\DatetimeCode
protected static $dateParts = [
'year',
'month',
'day',
'hour',
'minute',
'second',
];