Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Connection.php

function 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 514

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal