public function StorageComparer::addChangelistDelete

Creates the delete changelist.

Return value

\Drupal\Core\Config\StorageComparerInterface An object which implements the StorageComparerInterface.

Overrides StorageComparerInterface::addChangelistDelete

File

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

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

public function addChangelistDelete() {
  return $this
    ->addChangeList('delete', array_diff($this
    ->getTargetNames(), $this
    ->getSourceNames()));
}