You are here

protected function SyncFilter::syncSourceStorageReadMultiple in Configuration Synchronizer 8.2

Reads multiple from the sync source storage.

Parameters

array $names: The names of the configuration to read.

array $data: The data to filter.

Return value

array The new data.

1 call to SyncFilter::syncSourceStorageReadMultiple()
SyncFilter::filterReadMultiple in src/Plugin/ConfigFilter/SyncFilter.php

File

src/Plugin/ConfigFilter/SyncFilter.php, line 234

Class

SyncFilter
Provides a sync filter that brings in updates from installed extensions.

Namespace

Drupal\config_sync\Plugin\ConfigFilter

Code

protected function syncSourceStorageReadMultiple(array $names, array $data) {
  $filtered_data = [];
  foreach ($names as $name) {
    $filtered_data[$name] = $this
      ->syncSourceStorageRead($name, isset($data[$name]) ? $data[$name] : []);
  }
  return $filtered_data;
}