public function View::__sleep in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::__sleep()
Overrides ConfigEntityBase::__sleep
File
- core/
modules/ views/ src/ Entity/ View.php, line 462
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;
}