protected ConfigFactory::getConfigCacheKeys($name)
Gets all the cache keys that match the provided config name.
string $name: The name of the configuration object.
array An array of cache keys that match the provided config name.
protected function getConfigCacheKeys($name) { return array_filter(array_keys($this->cache), function($key) use ($name) { // Return TRUE if the key is the name or starts with the configuration // name plus the delimiter. return $key === $name || strpos($key, $name . ':') === 0; }); }
© 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!ConfigFactory.php/function/ConfigFactory::getConfigCacheKeys/8.1.x