class Tasks

Specifies installation tasks for MySQL and equivalent databases.

Hierarchy

  • class \Drupal\Core\Database\Install\Tasks
    • class \Drupal\Core\Database\Driver\mysql\Install\Tasks

File

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

Namespace

Drupal\Core\Database\Driver\mysql\Install

Members

Name Modifiers Type Description
Tasks::$pdoDriver protected property The PDO driver name for MySQL and equivalent databases. Overrides Tasks::$pdoDriver
Tasks::$results protected property Results from tasks.
Tasks::$tasks protected property Structure that describes each task to run.
Tasks::checkEngineVersion protected function Check the engine version. Overrides Tasks::checkEngineVersion
Tasks::connect protected function Check if we can connect to the database. Overrides Tasks::connect
Tasks::ensureInnoDbAvailable function Ensure that InnoDB is available.
Tasks::fail protected function Assert test as failed.
Tasks::getFormOptions public function Return driver specific configuration options. Overrides Tasks::getFormOptions
Tasks::hasPdoDriver protected function Ensure the PDO driver is supported by the version of PHP in use.
Tasks::installable public function Check whether Drupal is installable on the database.
Tasks::LIBMYSQLCLIENT_MINIMUM_VERSION constant Minimum required libmysqlclient version.
Tasks::minimumVersion public function Return the minimum required version of the engine. Overrides Tasks::minimumVersion
Tasks::MYSQLND_MINIMUM_VERSION constant Minimum required MySQLnd version.
Tasks::name public function Return the human-readable name of the driver. Overrides Tasks::name
Tasks::pass protected function Assert test as a pass.
Tasks::runTasks public function Run database tasks and tests to see if Drupal can run on the database.
Tasks::runTestQuery protected function Run SQL tests to ensure the database can execute commands with the current user.
Tasks::validateDatabaseSettings public function Validates driver specific configuration settings.
Tasks::__construct public function Constructs a \Drupal\Core\Database\Driver\mysql\Install\Tasks object.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Driver!mysql!Install!Tasks.php/class/Tasks/8.1.x