function RenderElementBase::__sleep
File
-
core/
lib/ Drupal/ Core/ Render/ Element/ RenderElementBase.php, line 721
Class
- RenderElementBase
- Provides a base class for render element plugins.
Namespace
Drupal\Core\Render\ElementCode
public function __sleep() : array {
$vars = parent::__sleep();
unset($this->storage['##object']);
return $vars;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.