function ContextDefinition::__sleep

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\Context

Code

public function __sleep() {
    return array_diff($this->traitSleep(), [
        'entityContextDefinition',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.