protected function CachedStorage::getCacheKeys
protected CachedStorage::getCacheKeys(array $names)
Returns a cache key map for an array of configuration names.
Parameters
array $names: The configuration names.
Return value
array An array of cache keys keyed by configuration names.
File
- core/lib/Drupal/Core/Config/CachedStorage.php, line 279
Class
- CachedStorage
- Defines the cached storage.
Namespace
Drupal\Core\ConfigCode
protected function getCacheKeys(array $names) { $prefix = $this->getCollectionPrefix(); $cache_keys = array_map(function($name) use ($prefix) { return $prefix . $name; }, $names); return array_combine($names, $cache_keys); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!CachedStorage.php/function/CachedStorage::getCacheKeys/8.1.x