You are here

service state in Drupal 10

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

Class

Drupal\Core\State\State
126 string references to state
AliasTest::testWhitelist in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests the alias whitelist.
AliasTest::testWhitelistCacheDeletionMidRequest in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests situation where the whitelist cache is deleted mid-request.
AssertMailTrait::assertMail in core/lib/Drupal/Core/Test/AssertMailTrait.php
Asserts that the most recently sent email message has the given value.
AssertMailTrait::getMails in core/lib/Drupal/Core/Test/AssertMailTrait.php
Gets an array containing all emails sent during this test case.
AttachedAssetsTest::testAddFiles in core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php
Tests adding a CSS and a JavaScript file.

... See full list

File

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

View source
  1. class: Drupal\Core\State\State
  2. arguments:
  3. - '@keyvalue'