keyvalue

Same name in other branches
  1. 8.9.x core/core.services.yml \keyvalue
  2. 10 core/core.services.yml \keyvalue

Class

Drupal\Core\KeyValueStore\KeyValueFactory
9 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.
MigrateEntityContentBaseTest::testBundleFallbackForStub in core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
Tests bundle is properly provided for stubs without bundle support.
MigrateSourceTest::getSource in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Gets the source plugin to test.

... See full list

File

core/core.services.yml

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

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