function PluralTranslatableMarkup::__sleep

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__sleep()
  2. 10 core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__sleep()
  3. 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\StringTranslation

Code

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.