You are here

service database.replica_kill_switch in Drupal 9

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

Class

Drupal\Core\Database\ReplicaKillSwitch

Tags

  • event_subscriber
1 string reference to database.replica_kill_switch
ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/tests/Drupal/KernelTests/Core/Database/ReplicaKillSwitchTest.php
Tests database.replica_kill_switch service.

File

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

View source
  1. class: Drupal\Core\Database\ReplicaKillSwitch
  2. arguments:
  3. - '@settings'
  4. - '@datetime.time'
  5. - '@session'
  6. tags:
  7. - { name: event_subscriber }