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.
doc_Drupal
2016-10-29 09:46:19
Comments
Leave a Comment

Please login to continue.