protected function StorageComparer::getTargetNames

Gets all the configuration names in the target storage.

Return value

array List of all the configuration names in the target storage.

3 calls to StorageComparer::getTargetNames()
StorageComparer::addChangelistCreate in drupal/core/lib/Drupal/Core/Config/StorageComparer.php
Creates the create changelist.
StorageComparer::addChangelistDelete in drupal/core/lib/Drupal/Core/Config/StorageComparer.php
Creates the delete changelist.
StorageComparer::addChangelistUpdate in drupal/core/lib/Drupal/Core/Config/StorageComparer.php
Creates the update changelist.

File

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

Class

StorageComparer
Defines a config storage comparer.

Namespace

Drupal\Core\Config

Code

protected function getTargetNames() {
  if (empty($this->targetNames)) {
    $this->targetNames = $this->targetStorage
      ->listAll();
  }
  return $this->targetNames;
}