public function Connection::getKey in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getKey()
Returns the key this connection is associated with.
Return value
string|null The key of this connection, or NULL if no key is set.
File
- core/
lib/ Drupal/ Core/ Database/ Connection.php, line 453
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function getKey() {
return $this->key;
}