function Tasks::isConnectionActive
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::isConnectionActive()
- 10 core/lib/Drupal/Core/Database/Install/Tasks.php \Drupal\Core\Database\Install\Tasks::isConnectionActive()
Determines if there is an active connection.
Return value
bool TRUE if there is at least one database connection established, FALSE otherwise.
1 call to Tasks::isConnectionActive()
- Tasks::name in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Install/ Tasks.php - Returns the human-readable name of the driver.
File
-
core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 381
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
protected function isConnectionActive() {
return Database::isActiveConnection();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.