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/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks::__construct()

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

File

core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php, line 35

Class

Tasks
Specifies installation tasks for MySQL and equivalent databases.

Namespace

Drupal\Core\Database\Driver\mysql\Install

Code

public function __construct() {
  $this->tasks[] = [
    'arguments' => [],
    'function' => 'ensureInnoDbAvailable',
  ];
}