public function StorageComparer::getChangelist

Gets the list of differences to import.

Parameters

string $op: (optional) A change operation. Either delete, create or update. If supplied the returned list will be limited to this operation.

Return value

array An array of config changes that are yet to be imported.

Overrides StorageComparerInterface::getChangelist

File

drupal/core/lib/Drupal/Core/Config/StorageComparer.php, line 96
Contains \Drupal\Core\Config\StorageComparer.

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

public function getChangelist($op = NULL) {
  if ($op) {
    return $this->changelist[$op];
  }
  return $this->changelist;
}