function drupal_get_updaters

7.x drupal_get_updaters()

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.

Return value

The Drupal Updater class registry.

See also



3 calls to drupal_get_updaters()
Updater::getUpdaterFromDirectory in drupal/includes/
Determine which Updater class can operate on the given directory.
update_manager_install_form_submit in drupal/modules/update/
Form submission handler for update_manager_install_form().
update_manager_update_ready_form_submit in drupal/modules/update/
Form submission handler for update_manager_update_ready_form().


drupal/includes/, line 8114
Common functions that many Drupal modules will need to reference.


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;