class Tasks

Specifies installation tasks for PostgreSQL databases.

Hierarchy

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

File

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

Namespace

Drupal\Core\Database\Driver\pgsql\Install

Members

Name Modifiers Type Description
Tasks::$pdoDriver protected property The name of the PDO driver this database type requires. Overrides Tasks::$pdoDriver
Tasks::$results protected property Results from tasks.
Tasks::$tasks protected property Structure that describes each task to run.
Tasks::checkBinaryOutput function Check Binary Output.
Tasks::checkBinaryOutputSuccess protected function Verify that a binary data roundtrip returns the original string.
Tasks::checkEncoding protected function Check encoding is UTF8.
Tasks::checkEngineVersion protected function Check the engine version.
Tasks::checkStandardConformingStrings public function Ensures standard_conforming_strings setting is 'on'.
Tasks::checkStandardConformingStringsSuccess protected function Verifies the standard_conforming_strings setting.
Tasks::connect protected function Check if we can connect to the database. Overrides Tasks::connect
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::initializeDatabase function Make PostgreSQL Drupal friendly.
Tasks::installable public function Check whether Drupal is installable on the database.
Tasks::minimumVersion public function Return the minimum required version of the engine. Overrides Tasks::minimumVersion
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\pgsql\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!pgsql!Install!Tasks.php/class/Tasks/8.1.x