1.20.x common.inc | backdrop_get_updaters() |
Assembles the Backdrop Updater registry.
An Updater is a class that knows how to update various parts of the Backdrop file system, for example to update modules that have newer releases, or to install a new theme.
Return value
The Backdrop Updater class registry.:
See also
File
- includes/
common.inc, line 8646 - Common functions that many Backdrop modules will need to reference.
Code
function backdrop_get_updaters() {
$updaters = &backdrop_static(__FUNCTION__);
if (!isset($updaters)) {
$updaters = module_invoke_all('updater_info');
backdrop_alter('updater_info', $updaters);
backdrop_sort($updaters);
}
return $updaters;
}