function StorageComparer::getEmptyChangelist

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::getEmptyChangelist()
  2. 8.9.x core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::getEmptyChangelist()
  3. 11.x core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::getEmptyChangelist()

Overrides StorageComparerInterface::getEmptyChangelist

3 calls to StorageComparer::getEmptyChangelist()
StorageComparer::createChangelist in core/lib/Drupal/Core/Config/StorageComparer.php
Calculates the differences.
StorageComparer::reset in core/lib/Drupal/Core/Config/StorageComparer.php
Recalculates the differences.
StorageComparer::__construct in core/lib/Drupal/Core/Config/StorageComparer.php
Constructs the Configuration storage comparer.

File

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

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

public function getEmptyChangelist() {
    return [
        'create' => [],
        'update' => [],
        'delete' => [],
        'rename' => [],
    ];
}

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