service keyvalue in Drupal 8
Same name and namespace in other branches
- 9 core/core.services.yml \keyvalue
Class
Drupal\Core\KeyValueStore\KeyValueFactory10 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\KeyValueStore\KeyValueFactory
- arguments:
- - '@service_container'
- - '%factory.keyvalue%'