function DatabaseDriver::getModule
Same name in other branches
- 10 core/lib/Drupal/Core/Extension/DatabaseDriver.php \Drupal\Core\Extension\DatabaseDriver::getModule()
Returns the Extension object of the module containing the database driver.
Return value
\Drupal\Core\Extension\Extension The Extension object of the module containing the database driver.
File
-
core/
lib/ Drupal/ Core/ Extension/ DatabaseDriver.php, line 51
Class
- DatabaseDriver
- Defines a database driver extension object.
Namespace
Drupal\Core\ExtensionCode
public function getModule() : Extension {
return $this->module;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.