database
Class
Drupal\Core\Database\Connection70 string references to database
- BackendCompilerPass::process in core/
lib/ Drupal/ Core/ DependencyInjection/ Compiler/ BackendCompilerPass.php - BackendCompilerPassTest::getDriverTestMysqlContainer in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Compiler/ BackendCompilerPassTest.php - Creates a container with a DriverTestMysql database mock definition in it.
- BackendCompilerPassTest::getSqliteContainer in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Compiler/ BackendCompilerPassTest.php - Creates a container with a sqlite database service in it.
- BlockWeightUpdateTest::testRunUpdates in core/
modules/ block/ tests/ src/ Functional/ BlockWeightUpdateTest.php - Tests update path for blocks' `weight` property.
- CacheCollectorTest::register in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheCollectorTest.php - Registers test-specific services.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Database\Connection
- factory: 'Drupal\Core\Database\Database::getConnection'
- arguments:
- - default
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.