You are here

public function ConfigBase::getCacheTags in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getCacheTags()
  2. 9 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::getCacheTags()
2 calls to ConfigBase::getCacheTags()
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.

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\Config

Code

public function getCacheTags() {
  return Cache::mergeTags([
    'config:' . $this->name,
  ], $this->cacheTags);
}