protected function Tasks::isConnectionActive in Drupal 9
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/
lib/ Drupal/ Core/ Database/ Driver/ mysql/ Install/ Tasks.php - Return the human-readable name of the driver.
File
- core/
lib/ Drupal/ Core/ Database/ Install/ Tasks.php, line 355
Class
- Tasks
- Database installer structure.
Namespace
Drupal\Core\Database\InstallCode
protected function isConnectionActive() {
return Database::isActiveConnection();
}