function RecipeExtensionConfigStorage::readMultiple

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

Reads configuration data from the storage.

Parameters

array $names: List of names of the configuration objects to load.

Return value

array A list of the configuration data stored for the configuration object name that could be loaded for the passed list of names.

Overrides StorageInterface::readMultiple

File

core/lib/Drupal/Core/Recipe/RecipeExtensionConfigStorage.php, line 61

Class

RecipeExtensionConfigStorage
Allows the recipe to select configuration from the module.

Namespace

Drupal\Core\Recipe

Code

public function readMultiple(array $names) : array {
  if (!empty($this->configNames)) {
    $names = array_intersect($this->configNames, $names);
  }
  return $this->storage
    ->readMultiple($names);
}

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