public Connection::setKey($key)
Tells this connection object what its key is.
Parameters
string $key: The key this connection is for.
File
- core/lib/Drupal/Core/Database/Connection.php, line 425
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\Database
Code
public function setKey($key) { if (!isset($this->key)) { $this->key = $key; } }
Please login to continue.