public function ContextDefinition::__sleep in Drupal 8
Implements magic __sleep() method.
File
- core/
lib/ Drupal/ Core/ Plugin/ Context/ ContextDefinition.php, line 428
Class
- ContextDefinition
- Defines a class for context definitions.
Namespace
Drupal\Core\Plugin\ContextCode
public function __sleep() {
return array_diff($this
->traitSleep(), [
'entityContextDefinition',
]);
}