You are here

service cache_tags.invalidator in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \cache_tags.invalidator
  2. 9 core/core.services.yml \cache_tags.invalidator

Class

Drupal\Core\Cache\CacheTagsInvalidator

Tags

  • service_collector
23 string references to cache_tags.invalidator
BackendChainTest::createCacheBackend in core/tests/Drupal/KernelTests/Core/Cache/BackendChainTest.php
Creates a cache backend to test.
BrowserTestBase::installDrupal in core/tests/Drupal/Tests/BrowserTestBase.php
Installs Drupal into the test site.
Cache::invalidateTags in core/lib/Drupal/Core/Cache/Cache.php
Marks cache items from all bins with any of the specified tags as invalid.
CacheTagTest::testTagCaching in core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php
Tests the tag cache plugin.
ChainedFastBackendTest::createCacheBackend in core/tests/Drupal/KernelTests/Core/Cache/ChainedFastBackendTest.php
Creates a new instance of ChainedFastBackend.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. parent: container.trait
  2. class: Drupal\Core\Cache\CacheTagsInvalidator
  3. calls:
  4. - [setContainer, ['@service_container']]
  5. tags:
  6. - { name: service_collector, call: addInvalidator, tag: cache_tags_invalidator }