You are here

service keyvalue in Drupal 8

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

Class

Drupal\Core\KeyValueStore\KeyValueFactory
10 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::containerBuild in core/modules/simpletest/src/KernelTestBase.php
Sets up the base service container for this test.
KernelTestBase::register in core/tests/Drupal/KernelTests/KernelTestBase.php
Registers test-specific services.
KernelTestBase::setUp in core/modules/simpletest/src/KernelTestBase.php
Performs setup tasks before each individual test method is run.

... 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%'