function Schema::__construct

Same name in this branch
  1. 10 core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::__construct()
Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::__construct()
  2. 8.9.x core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::__construct()
  3. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Schema.php \Drupal\pgsql\Driver\Database\pgsql\Schema::__construct()
  4. 11.x core/lib/Drupal/Core/Database/Schema.php \Drupal\Core\Database\Schema::__construct()
1 call to Schema::__construct()
Schema::__construct in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
1 method overrides Schema::__construct()
Schema::__construct in core/modules/pgsql/src/Driver/Database/pgsql/Schema.php

File

core/lib/Drupal/Core/Database/Schema.php, line 46

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

public function __construct($connection) {
    $this->uniqueIdentifier = uniqid('', TRUE);
    $this->connection = $connection;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.