function ReplicaKillSwitch::getSubscribedEvents
File
-
core/
lib/ Drupal/ Core/ Database/ ReplicaKillSwitch.php, line 108
Class
- ReplicaKillSwitch
- Provides replica server kill switch to ignore it.
Namespace
Drupal\Core\DatabaseCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'checkReplicaServer',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.