function public function Theme::__sleep

8.x-3.x Theme.php public Theme::__sleep()

Serialization method.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Source src/Theme.php (line 214)

public function __sleep() {
  // Only store the theme name.
  return ['name'];
}