Schema::$connection
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::connection
- 10 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::connection
- 11.x core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::connection
The database connection.
Type: \Drupal\Core\Database\Connection
File
-
core/
lib/ Drupal/ Core/ Database/ Schema.php, line 17
Class
- Schema
- Provides a base implementation for Database Schema.
Namespace
Drupal\Core\DatabaseCode
protected $connection;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.