function DatabaseStorageExpirableTest::register
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::register()
- 8.9.x core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::register()
- 10 core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php \Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageExpirableTest::register()
Overrides KernelTestBase::register
File
-
core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageExpirableTest.php, line 35
Class
- DatabaseStorageExpirableTest
- Tests the key-value database storage.
Namespace
Drupal\KernelTests\Core\KeyValueStoreCode
public function register(ContainerBuilder $container) {
parent::register($container);
$parameter[KeyValueFactory::DEFAULT_SETTING] = 'keyvalue.expirable.database';
$container->setParameter('factory.keyvalue.expirable', $parameter);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.