class Tasks in Drupal 8
Same name in this branch
- 8 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks
- 8 core/tests/fixtures/database_drivers/custom/corefake/Install/Tasks.php \Drupal\Driver\Database\corefake\Install\Tasks
- 8 core/tests/fixtures/database_drivers/custom/fake/Install/Tasks.php \Drupal\Driver\Database\fake\Install\Tasks
- 8 core/tests/fixtures/database_drivers/core/corefake/Install/Tasks.php \Drupal\Core\Database\Driver\corefake\Install\Tasks
- 8 core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php \Drupal\Core\Database\Driver\sqlite\Install\Tasks
- 8 core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php \Drupal\Core\Database\Driver\pgsql\Install\Tasks
- 8 core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php \Drupal\Core\Database\Driver\mysql\Install\Tasks
- 8 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Install/Tasks.php \Drupal\database_statement_monitoring_test\sqlite\Install\Tasks
- 8 core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Install/Tasks.php \Drupal\database_statement_monitoring_test\pgsql\Install\Tasks
- 8 core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Install/Tasks.php \Drupal\database_statement_monitoring_test\mysql\Install\Tasks
- 8 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Install/Tasks.php \Drupal\corefake\Driver\Database\corefake\Install\Tasks
- 8 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Install/Tasks.php \Drupal\driver_test\Driver\Database\DrivertestMysql\Install\Tasks
- 8 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Install/Tasks.php \Drupal\driver_test\Driver\Database\DrivertestPgsql\Install\Tasks
- 8 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Install/Tasks.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Install\Tasks
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Install/Tasks.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Install\Tasks
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Install/Tasks.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Install\Tasks
Specifies installation tasks for MySQL test databases.
Hierarchy
- class \Drupal\Core\Database\Install\Tasks
Expanded class hierarchy of Tasks
1 string reference to 'Tasks'
- system.links.task.yml in core/
modules/ system/ system.links.task.yml - core/modules/system/system.links.task.yml
File
- core/
modules/ system/ tests/ modules/ driver_test/ src/ Driver/ Database/ DrivertestMysqlDeprecatedVersion/ Install/ Tasks.php, line 10
Namespace
Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\InstallView source
class Tasks extends CoreTasks {
/**
* {@inheritdoc}
*/
public function name() {
return t('MySQL deprecated version by the driver_test module');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Tasks:: |
protected | property |
The PDO driver name for MySQL and equivalent databases. Overrides Tasks:: |
|
Tasks:: |
protected | property | Results from tasks. | |
Tasks:: |
protected | property | Structure that describes each task to run. | |
Tasks:: |
protected | function |
Check the engine version. Overrides Tasks:: |
|
Tasks:: |
protected | function |
Check if we can connect to the database. Overrides Tasks:: |
|
Tasks:: |
final public | function | Checks engine version requirements for the status report. | |
Tasks:: |
public | function | Ensure that InnoDB is available. | |
Tasks:: |
protected | function | Assert test as failed. | |
Tasks:: |
public | function |
Return driver specific configuration options. Overrides Tasks:: |
|
Tasks:: |
protected | function | Ensure the PDO driver is supported by the version of PHP in use. | |
Tasks:: |
public | function | Check whether Drupal is installable on the database. | |
Tasks:: |
constant | Minimum required libmysqlclient version. | ||
Tasks:: |
public | function |
Return the minimum required version of the engine. Overrides Tasks:: |
|
Tasks:: |
constant | Minimum required MySQLnd version. | ||
Tasks:: |
public | function |
Return the human-readable name of the driver. Overrides Tasks:: |
|
Tasks:: |
protected | function | Assert test as a pass. | |
Tasks:: |
public | function | Run database tasks and tests to see if Drupal can run on the database. | |
Tasks:: |
protected | function | Run SQL tests to ensure the database can execute commands with the current user. | |
Tasks:: |
public | function | Validates driver specific configuration settings. | |
Tasks:: |
public | function | Constructs a \Drupal\Core\Database\Driver\mysql\Install\Tasks object. |