drupal_get_updaters

Versions
mediamosa-21
drupal_get_updaters()

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.

See also

hook_updater_info()

@see hook_updater_info_alter()

Return value

Returns the Drupal Updater class registry.

▾ 2 functions call drupal_get_updaters()

update_manager_install_form_submit in modules/update/update.manager.inc
Handle form submission when installing new projects via the update manager.
update_manager_update_ready_form_submit in modules/update/update.manager.inc
Submit handler for the form to confirm that an update should continue.

Code

includes/common.inc, line 6574

<?php
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;
}
?>