function ExceptionDetectNeedsInstallSubscriber::__construct
Same name in other branches
- 9 core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php \Drupal\Core\EventSubscriber\ExceptionDetectNeedsInstallSubscriber::__construct()
- 8.9.x core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php \Drupal\Core\EventSubscriber\ExceptionDetectNeedsInstallSubscriber::__construct()
- 11.x core/lib/Drupal/Core/EventSubscriber/ExceptionDetectNeedsInstallSubscriber.php \Drupal\Core\EventSubscriber\ExceptionDetectNeedsInstallSubscriber::__construct()
Constructs a new ExceptionDetectNeedsInstallSubscriber.
Parameters
\Drupal\Core\Database\Connection $connection: The default database connection.
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ ExceptionDetectNeedsInstallSubscriber.php, line 31
Class
- ExceptionDetectNeedsInstallSubscriber
- Exception handler to determine if an exception indicates an uninstalled site.
Namespace
Drupal\Core\EventSubscriberCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.