16 calls to Drupal::cache()

ConfigurableLanguageManager::__construct in core/modules/language/src/ConfigurableLanguageManager.php
Constructs a new ConfigurableLanguageManager object.
ContentEntityCacheTest::testCacheInvalidationOnSave in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCacheTest.php
Tests that the correct caches are invalidated when an entity is saved.
ContentEntityCacheTest::testEntityLoad in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCacheTest.php
Tests the static cache when loading content entities.
DatabaseBackendTagTest::testTagInvalidations in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
Test tag invalidation.
DrupalTest::testCache in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the cache() method.
EntityDisplayTest::testEntityDisplayInvalidateCacheTags in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Ensure that entity view display changes invalidates cache tags.
EntityViewBuilderTest::testEntityViewBuilderCache in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
Tests entity render cache handling.
FormController::__construct in core/modules/system/tests/modules/condition_test/src/FormController.php
Constructs a \Drupal\condition_test\FormController object.
MigrateSqlSourceTestBase::testSource in core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php
Tests the source plugin against a particular data set.
RegistryTest::testMultipleSubThemes in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with multiple subthemes.
RegistryTest::testRaceCondition in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the behavior of the theme registry class.
RegistryTest::testSuggestionPreprocessFunctions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests the theme registry with suggestions.
RegistryTest::testThemeRegistryAlterByTheme in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests that the theme registry can be altered by themes.
RegistryTest::testThemeTemplatesRegisteredByModules in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests theme-provided templates that are registered by modules.
SourcePluginBase::getCache in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
Gets the cache object.
Stable9TemplateOverrideTest::testStable9TemplateOverrides in core/tests/Drupal/KernelTests/Core/Theme/Stable9TemplateOverrideTest.php
Ensures that Stable 9 overrides all relevant core templates.

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