You are here

public function Tasks::__construct in Drupal 10

Same name in this branch
  1. 10 core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php \Drupal\pgsql\Driver\Database\pgsql\Install\Tasks::__construct()
  2. 10 core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php \Drupal\mysql\Driver\Database\mysql\Install\Tasks::__construct()

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

File

core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php, line 31

Class

Tasks
Specifies installation tasks for PostgreSQL databases.

Namespace

Drupal\pgsql\Driver\Database\pgsql\Install

Code

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