Set the weight of a module in the 'system' table, thereby determining the order in which its hooks will be executed in relation to other modules.
@since 1.17.2 Function added.
string $module: The name of the module (without the .module extension).
integer $weight: The weight to set, as an integer.
includes/ module.inc, line 1215
- API for loading and interacting with Backdrop modules.