function DatabaseDriver::getInstallTasks
Same name in other branches
- 11.x core/lib/Drupal/Core/Extension/DatabaseDriver.php \Drupal\Core\Extension\DatabaseDriver::getInstallTasks()
Returns the install tasks object instance of this database driver.
Return value
\Drupal\Core\Database\Install\Tasks The install tasks object instance.
File
-
core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php, line 114
Class
- DatabaseDriver
- Defines a database driver extension object.
Namespace
Drupal\Core\ExtensionCode
public function getInstallTasks() : Tasks {
if (!isset($this->installTasks)) {
$this->load();
$installTasksClass = $this->getNamespace() . "\\Install\\Tasks";
$this->installTasks = new $installTasksClass();
}
return $this->installTasks;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.