public function StorageComparer::addChangelistCreate

Creates the create changelist.

Return value

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

Overrides StorageComparerInterface::addChangelistCreate

File

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

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

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