You are here

public function SplitFilter::filterReadMultiple in Configuration Split 8

File

src/Plugin/ConfigFilter/SplitFilter.php, line 264

Class

SplitFilter
Provides a SplitFilter.

Namespace

Drupal\config_split\Plugin\ConfigFilter

Code

public function filterReadMultiple(array $names, array $data) {
  if ($this->secondaryStorage) {
    $data = array_merge($data, $this->secondaryStorage
      ->readMultiple($names));
  }
  if (in_array('core.extension', $names)) {
    $data['core.extension'] = $this
      ->filterRead('core.extension', $data['core.extension']);
  }
  return $data;
}