Connection::$target
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::target
- 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::target
- 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::target
The database target this connection is for.
We need this information for later auditing and logging.
Type: string|null
File
-
core/
lib/ Drupal/ Core/ Database/ Connection.php, line 35
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
protected $target = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.