You are here

service database.replica in Drupal 8

Same name and namespace in other branches
  1. 9 core/core.services.yml \database.replica
  2. 10 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