function PluralTranslatableMarkup::__sleep
Same name in other branches
- 8.9.x core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__sleep()
- 10 core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__sleep()
- 11.x core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__sleep()
Overrides TranslatableMarkup::__sleep
File
-
core/
lib/ Drupal/ Core/ StringTranslation/ PluralTranslatableMarkup.php, line 156
Class
- PluralTranslatableMarkup
- A class to hold plural translatable markup.
Namespace
Drupal\Core\StringTranslationCode
public function __sleep() {
return array_merge(parent::__sleep(), [
'count',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.