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
Name | Type(s) | Description |
---|---|---|
module | Module |
ModulesInfo methods and properties
API reference based on ProcessWire core version 3.0.236