Assembles the Drupal Updater registry.
An Updater is a class that knows how to update various parts of the Drupal file system, for example to update modules that have newer releases, or to install a new theme.
array The Drupal Updater class registry.
function drupal_get_updaters() {
$updaters =& drupal_static(__FUNCTION__);
if (!isset($updaters)) {
$updaters = module_invoke_all('updater_info');
drupal_alter('updater_info', $updaters);
uasort($updaters, 'drupal_sort_weight');
}
return $updaters;
}