database.replica_kill_switch
Same name in other branches
- 8.9.x core/core.services.yml \database.replica_kill_switch
- 10 core/core.services.yml \database.replica_kill_switch
Class
Drupal\Core\Database\ReplicaKillSwitchTags
- 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
View source
- class: Drupal\Core\Database\ReplicaKillSwitch
- arguments:
- - '@settings'
- - '@datetime.time'
- - '@session'
- tags:
- - { name: event_subscriber }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.