DatabaseDriverUninstallValidator::$connection

Same name in other branches
  1. 9 core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php \Drupal\Core\Extension\DatabaseDriverUninstallValidator::connection
  2. 11.x core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php \Drupal\Core\Extension\DatabaseDriverUninstallValidator::connection

The database connection.

Type: \Drupal\Core\Database\Connection

File

core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php, line 29

Class

DatabaseDriverUninstallValidator
Ensures installed modules providing a database driver are not uninstalled.

Namespace

Drupal\Core\Extension

Code

protected $connection;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.