function RecipeConfigStorageWrapper::readMultiple

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php \Drupal\Core\Recipe\RecipeConfigStorageWrapper::readMultiple()

Overrides StorageInterface::readMultiple

File

core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php, line 82

Class

RecipeConfigStorageWrapper
Merges two storages together.

Namespace

Drupal\Core\Recipe

Code

public function readMultiple(array $names) : array {
    // If both storageA and storageB contain the same configuration, the value
    // for storageA takes precedence.
    return array_merge($this->storageB
        ->readMultiple($names), $this->storageA
        ->readMultiple($names));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.