function ConfigFactoryInterface::getCacheKeys
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::getCacheKeys()
- 10 core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::getCacheKeys()
- 11.x core/lib/Drupal/Core/Config/ConfigFactoryInterface.php \Drupal\Core\Config\ConfigFactoryInterface::getCacheKeys()
The cache keys associated with the state of the config factory.
All state information that can influence the result of a get() should be included. Typically, this includes a key for each override added via addOverride(). This allows external code to maintain caches of configuration data in addition to or instead of caches maintained by the factory.
Return value
array An array of strings, used to generate a cache ID.
1 method overrides ConfigFactoryInterface::getCacheKeys()
- ConfigFactory::getCacheKeys in core/
lib/ Drupal/ Core/ Config/ ConfigFactory.php - The cache keys associated with the state of the config factory.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigFactoryInterface.php, line 88
Class
- ConfigFactoryInterface
- Defines the interface for a configuration object factory.
Namespace
Drupal\Core\ConfigCode
public function getCacheKeys();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.