function View::__sleep
Same name in other branches
- 9 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::__sleep()
- 10 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::__sleep()
- 11.x core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::__sleep()
Overrides ConfigEntityBase::__sleep
File
-
core/
modules/ views/ src/ Entity/ View.php, line 508
Class
- View
- Defines a View configuration entity class.
Namespace
Drupal\views\EntityCode
public function __sleep() {
$keys = parent::__sleep();
unset($keys[array_search('executable', $keys)]);
return $keys;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.