public function TranslatableMarkup::__sleep in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::__sleep()
Magic __sleep() method to avoid serializing the string translator.
File
- core/
lib/ Drupal/ Core/ StringTranslation/ TranslatableMarkup.php, line 217 - Contains \Drupal\Core\StringTranslation\TranslatableMarkup.
Class
- TranslatableMarkup
- Provides translatable markup class.
Namespace
Drupal\Core\StringTranslationCode
public function __sleep() {
return array(
'string',
'arguments',
'options',
);
}