database.replica

Same name in other branches
  1. 8.9.x 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

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.