You are here

public function PluralTranslatableMarkup::__sleep in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__sleep()
  2. 9 core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php \Drupal\Core\StringTranslation\PluralTranslatableMarkup::__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',
  ]);
}