Same name and namespace in other branches
  1. 8.9.x core/core.services.yml \database
  2. 9 core/core.services.yml \database

Class

Drupal\Core\Database\Connection
110 string references to database
ArgumentDateTest::testWeekHandler in core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php
Tests the Week handler.
ArgumentDateTest::testYearHandler in core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php
Tests the Year handler.
ArgumentDateTest::testYearMonthHandler in core/modules/views/tests/src/Kernel/Handler/ArgumentDateTest.php
Tests the YearMonth handler.
BackendCompilerPass::process in core/lib/Drupal/Core/DependencyInjection/Compiler/BackendCompilerPass.php
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
BackendCompilerPassTest::getDrivertestMysqlContainer in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php
Creates a container with a DrivertestMysql database mock definition in it.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Database\Connection
  2. factory: 'Drupal\Core\Database\Database::getConnection'
  3. arguments:
  4. - default