service database.replica_kill_switch in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \database.replica_kill_switch
- 9 core/core.services.yml \database.replica_kill_switch
Class
Drupal\Core\Database\ReplicaKillSwitchTags
- event_subscriber
4 string references to database.replica_kill_switch
- ReplicaKillSwitchTest::testSystemInitIgnoresSecondaries in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ReplicaKillSwitchTest.php - Tests database.replica_kill_switch service.
- SqlContentEntityStorage::delete in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Deletes permanently saved entities.
- SqlContentEntityStorage::restore in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Restores a previously saved entity.
- SqlContentEntityStorage::save in core/
lib/ Drupal/ Core/ Entity/ Sql/ SqlContentEntityStorage.php - Saves the entity permanently.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Database\ReplicaKillSwitch
- arguments:
- - '@settings'
- - '@datetime.time'
- - '@session'
- tags:
- - { name: event_subscriber }