You are here

service database.replica in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \database.replica

Class

Drupal\Core\Database\Connection
2 string references to database.replica
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
Creates an instance of the plugin.
TrackerController::create in core/modules/tracker/src/Controller/TrackerController.php
Instantiates a new instance of this class.

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. - replica