protected function GenerateConfigurationUpdateCommand::getLastUpdate in Update helper 8
Get last update number.
Parameters
string $module: Module name where update hook will placed.
Return value
array|bool|mixed Returns next update hook number.
2 calls to GenerateConfigurationUpdateCommand::getLastUpdate()
File
- src/
Command/ GenerateConfigurationUpdateCommand.php, line 273
Class
- GenerateConfigurationUpdateCommand
- Generate configuration update command class.
Namespace
Drupal\update_helper\CommandCode
protected function getLastUpdate($module) {
$this->site
->loadLegacyFile('/core/includes/schema.inc');
return drupal_get_installed_schema_version($module);
}