public function Connection::getKey
public 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 437
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function getKey() { return $this->key; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Connection.php/function/Connection::getKey/8.1.x