You are here

service module_cachebin.cache_bin in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/module_cachebin/module_cachebin.services.yml \module_cachebin.cache_bin
  2. 9 core/modules/system/tests/modules/module_cachebin/module_cachebin.services.yml \module_cachebin.cache_bin

Class

Drupal\Core\Cache\CacheBackendInterface

Tags

  • cache.bin
1 string reference to module_cachebin.cache_bin
ModuleInstallerTest::testCacheBinCleanup in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
Tests cache bins defined by modules are removed when uninstalled.

File

core/modules/system/tests/modules/module_cachebin/module_cachebin.services.yml
core/modules/system/tests/modules/module_cachebin/module_cachebin.services.yml

View source
  1. class: Drupal\Core\Cache\CacheBackendInterface
  2. tags:
  3. - { name: cache.bin }
  4. factory:
  5. - '@cache.backend.database'
  6. - get
  7. arguments:
  8. - module_cachebin