W3cubDocs

/Drupal 8

abstract class Tasks

Database installer structure.

Defines basic Drupal requirements for databases.

Hierarchy

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

File

core/lib/Drupal/Core/Database/Install/Tasks.php, line 12

Namespace

Drupal\Core\Database\Install

Members

Name Modifiers Type Description
Tasks::$pdoDriver protected property The name of the PDO driver this database type requires.
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.
Tasks::connect protected function Check if we can connect to the database.
Tasks::fail protected function Assert test as failed.
Tasks::getFormOptions public function Return driver specific configuration options.
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::minimumVersion public function Return the minimum required version of the engine.
Tasks::name abstract public function Return the human-readable name of the driver.
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.

© 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!Install!Tasks.php/class/Tasks/8.1.x