You are here

class Tasks in Drupal driver for SQL Server and SQL Azure 4.0.x

Same name in this branch
  1. 4.0.x tests/database_statement_monitoring_test/Install/Tasks.php \Drupal\database_statement_monitoring_test\sqlsrv\Install\Tasks
  2. 4.0.x src/Driver/Database/sqlsrv/Install/Tasks.php \Drupal\sqlsrv\Driver\Database\sqlsrv\Install\Tasks
Same name and namespace in other branches
  1. 4.2.x tests/database_statement_monitoring_test/Install/Tasks.php \Drupal\database_statement_monitoring_test\sqlsrv\Install\Tasks
  2. 4.1.x tests/database_statement_monitoring_test/Install/Tasks.php \Drupal\database_statement_monitoring_test\sqlsrv\Install\Tasks

Hierarchy

  • class \Drupal\Core\Database\Install\Tasks
    • class \Drupal\sqlsrv\Driver\Database\sqlsrv\Install\Tasks
      • class \Drupal\database_statement_monitoring_test\sqlsrv\Install\Tasks

Expanded class hierarchy of Tasks

File

tests/database_statement_monitoring_test/Install/Tasks.php, line 7

Namespace

Drupal\database_statement_monitoring_test\sqlsrv\Install
View source
class Tasks extends BaseTasks {

}

Members

Namesort descending Modifiers Type Description Overrides
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::checkEncoding protected function Check encoding is UTF8.
Tasks::checkEngineVersion protected function Check the engine version. 1
Tasks::connect protected function Check if we can connect to the database. Overrides Tasks::connect
Tasks::engineVersionRequirementsCheck final public function Checks engine version requirements for the status report.
Tasks::fail protected function Assert test as failed.
Tasks::getConnection protected function Returns the database connection.
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 public function Make SQLServer Drupal friendly.
Tasks::installable public function Check whether Drupal is installable on the database.
Tasks::isConnectionActive protected function Determines if there is an active connection.
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::t protected function Translates a string to the current language or to a given language.
Tasks::validateDatabaseSettings public function Validates driver specific configuration settings.
Tasks::__construct public function Constructs a \Drupal\Core\Database\Driver\pgsql\Install\Tasks object.