cache.default

Same name in other branches
  1. 9 core/core.services.yml \cache.default
  2. 8.9.x core/core.services.yml \cache.default

Class

Drupal\Core\Cache\CacheBackendInterface

Tags

  • cache.bin
4 string references to cache.default
CacheCollectorTest::testCacheCollector in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Tests setting and invalidating.
CKEditor5::create in core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php
Creates an instance of the plugin.
DbUpdateController::create in core/modules/system/src/Controller/DbUpdateController.php
Instantiates a new instance of the implementing class using autowiring.
RebuildScriptTest::testRebuild in core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
Tests redirect in rebuild.php.

File

core/core.services.yml

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.