You are here

public function StorageComparer::getEmptyChangelist in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::getEmptyChangelist()
  2. 10 core/lib/Drupal/Core/Config/StorageComparer.php \Drupal\Core\Config\StorageComparer::getEmptyChangelist()

Gets an empty changelist.

Return value

array An empty changelist array.

Overrides StorageComparerInterface::getEmptyChangelist

3 calls to StorageComparer::getEmptyChangelist()
StorageComparer::createChangelist in core/lib/Drupal/Core/Config/StorageComparer.php
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 147

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

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