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

Class

Drupal\Core\State\State

Tags

  • needs_destruction
111 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.
AssetQueryStringTest::testResetGet in core/tests/Drupal/KernelTests/Core/Asset/AssetQueryStringTest.php
@covers ::get @covers ::reset

... See full list

File

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

View source
  1. class: Drupal\Core\State\State
  2. arguments:
  3. - '@keyvalue'
  4. - '@cache.bootstrap'
  5. - '@lock'
  6. tags:
  7. - { name: needs_destruction }