Connection::getTarget

public 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 415

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

1
2
3
public function getTarget() {
  return $this->target;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.