ModulesInfo::checkModuleVersion()

Check the module version to make sure it is consistent with our moduleInfo

When not consistent, this triggers the moduleVersionChanged hook, which in turn triggers the $module->___upgrade($fromVersion, $toVersion) method.

Usage

$modulesInfo->checkModuleVersion(Module $module);

Arguments

NameType(s)Description
$moduleModule

ModulesInfo methods and properties

API reference based on ProcessWire core version 3.0.255