function ConfigEntityBase::getCacheTagsToInvalidate
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getCacheTagsToInvalidate()
- 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getCacheTagsToInvalidate()
- 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getCacheTagsToInvalidate()
Overrides EntityBase::getCacheTagsToInvalidate
1 method overrides ConfigEntityBase::getCacheTagsToInvalidate()
- DateFormat::getCacheTagsToInvalidate in core/
lib/ Drupal/ Core/ Datetime/ Entity/ DateFormat.php - Returns the cache tags that should be used to invalidate caches.
File
-
core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php, line 411
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
public function getCacheTagsToInvalidate() {
// Use cache tags that match the underlying config object's name.
// @see \Drupal\Core\Config\ConfigBase::getCacheTags()
return [
'config:' . $this->getConfigDependencyName(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.