function StorageComparer::__wakeup

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::__wakeup()

File

core/lib/Drupal/Core/Config/StorageComparer.php, line 514

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

public function __wakeup() : void {
    $this->defaultWakeup();
    $this->targetStorages = [];
    $this->targetCacheStorage
        ->deleteAll();
}

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