protected ConfigFactory::propagateConfigOverrideCacheability($cache_key, $name)
Propagates cacheability of config overrides to cached config objects.
string $cache_key: The key of the cached config object to update.
string $name: The name of the configuration object to construct.
protected function propagateConfigOverrideCacheability($cache_key, $name) { foreach ($this->configFactoryOverrides as $override) { $this->cache[$cache_key]->addCacheableDependency($override->getCacheableMetadata($name)); } }
© 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::propagateConfigOverrideCacheability/8.1.x