function DrupalDateTime::__sleep
Same name in other branches
- 11.x core/lib/Drupal/Core/Datetime/DrupalDateTime.php \Drupal\Core\Datetime\DrupalDateTime::__sleep()
File
-
core/
lib/ Drupal/ Core/ Datetime/ DrupalDateTime.php, line 176
Class
- DrupalDateTime
- Extends DateTimePlus().
Namespace
Drupal\Core\DatetimeCode
public function __sleep() : array {
return array_diff($this->defaultSleep(), [
'formatTranslationCache',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.