You are here

service keyvalue in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \keyvalue

Class

Drupal\Core\KeyValueStore\KeyValueFactory
8 string references to keyvalue
DrupalTest::testKeyValue in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the keyValue() method.
InstallerServiceProvider::register in core/lib/Drupal/Core/Installer/InstallerServiceProvider.php
Registers services to the container.
KernelTestBase::register in core/tests/Drupal/KernelTests/KernelTestBase.php
Registers test-specific services.
MigrateSourceTest::getSource in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Gets the source plugin to test.
ProviderRepository::__construct in core/modules/media/src/OEmbed/ProviderRepository.php
Constructs a ProviderRepository instance.

... See full list

File

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

View source
  1. class: Drupal\Core\KeyValueStore\KeyValueFactory
  2. arguments:
  3. - '@service_container'
  4. - '%factory.keyvalue%'