StorageComparer::$writeMode

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

Indicates whether the target storage should be wrapped in a cache.

In write mode the StorageComparer no longer wraps the target storage in a static cache. When writing to active configuration, the target storage must reflect any secondary writes to configuration that occur.

Type: bool

File

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

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

protected bool $writeMode = FALSE;

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