protected ConfigFactory::getConfigCacheKeys($name)
Gets all the cache keys that match the provided config name.
Parameters
string $name: The name of the configuration object.
Return value
array An array of cache keys that match the provided config name.
File
- core/lib/Drupal/Core/Config/ConfigFactory.php, line 308
Class
- ConfigFactory
- Defines the configuration object factory.
Namespace
Drupal\Core\Config
Code
1 2 3 4 5 6 7 | 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; }); } |
Please login to continue.