function ConfigBase::getCacheTags
Same name in other branches
- 9 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getCacheTags()
- 10 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getCacheTags()
- 11.x core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getCacheTags()
Overrides CacheableDependencyTrait::getCacheTags
4 calls to ConfigBase::getCacheTags()
- Config::delete in core/
lib/ Drupal/ Core/ Config/ Config.php - Deletes the configuration object.
- Config::save in core/
lib/ Drupal/ Core/ Config/ Config.php - Saves the configuration object.
- LanguageConfigOverride::delete in core/
modules/ language/ src/ Config/ LanguageConfigOverride.php - Deletes the configuration object.
- LanguageConfigOverride::save in core/
modules/ language/ src/ Config/ LanguageConfigOverride.php - Saves the configuration object.
1 method overrides ConfigBase::getCacheTags()
- ThemeSettings::getCacheTags in core/
lib/ Drupal/ Core/ Theme/ ThemeSettings.php - The cache tags associated with this object.
File
-
core/
lib/ Drupal/ Core/ Config/ ConfigBase.php, line 264
Class
- ConfigBase
- Provides a base class for configuration objects with get/set support.
Namespace
Drupal\Core\ConfigCode
public function getCacheTags() {
return Cache::mergeTags([
'config:' . $this->name,
], $this->cacheTags);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.