function Tasks::__construct

Same name in this branch
  1. 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks::__construct()
Same name in other branches
  1. 9 core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php \Drupal\mysql\Driver\Database\mysql\Install\Tasks::__construct()
  2. 9 core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::__construct()
  3. 10 core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php \Drupal\mysql\Driver\Database\mysql\Install\Tasks::__construct()
  4. 10 core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::__construct()
  5. 11.x core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php \Drupal\mysql\Driver\Database\mysql\Install\Tasks::__construct()
  6. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::__construct()

Constructs a \Drupal\Core\Database\Driver\pgsql\Install\Tasks object.

File

core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php, line 22

Class

Tasks
Specifies installation tasks for PostgreSQL databases.

Namespace

Drupal\Core\Database\Driver\pgsql\Install

Code

public function __construct() {
    $this->tasks[] = [
        'function' => 'checkEncoding',
        'arguments' => [],
    ];
    $this->tasks[] = [
        'function' => 'checkBinaryOutput',
        'arguments' => [],
    ];
    $this->tasks[] = [
        'function' => 'checkStandardConformingStrings',
        'arguments' => [],
    ];
    $this->tasks[] = [
        'function' => 'initializeDatabase',
        'arguments' => [],
    ];
}

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