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\mysql\Driver\Database\mysql\Install\Tasks object.

File

core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php, line 52

Class

Tasks
Specifies installation tasks for MySQL and equivalent databases.

Namespace

Drupal\mysql\Driver\Database\mysql\Install

Code

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