You are here

public function Tasks::__construct in Drupal 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\pgsql\Install\Tasks::__construct()
  2. 8 core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks::__construct()
Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\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' => [],
  ];
}