You are here

public function View::__sleep in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Entity/View.php \Drupal\views\Entity\View::__sleep()

Overrides Entity::__sleep

File

core/modules/views/src/Entity/View.php, line 461
Contains \Drupal\views\Entity\View.

Class

View
Defines a View configuration entity class.

Namespace

Drupal\views\Entity

Code

public function __sleep() {
  $keys = parent::__sleep();
  unset($keys[array_search('executable', $keys)]);
  return $keys;
}