You are here

public function Connection::getTarget in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::getTarget()

Returns the target this connection is associated with.

Return value

string|null The target string of this connection, or NULL if no target is set.

File

core/lib/Drupal/Core/Database/Connection.php, line 420
Contains \Drupal\Core\Database\Connection.

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function getTarget() {
  return $this->target;
}