Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ExceptionDetectNeedsInstallSubscriber.php

function 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\EventSubscriber

Code

public function __construct(Connection $connection) {
    $this->connection = $connection;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal