function update_task_list

Adds the update task list to the current page.

4 calls to update_task_list()
update_check_requirements in drupal/update.php
Checks update requirements and reports errors and (optionally) warnings.
update_info_page in drupal/update.php
Provides an overview of the Drupal database update.
update_results_page in drupal/update.php
Displays results of the update script with any accompanying errors.
update_selection_page in drupal/update.php
Renders a form with a list of available database updates.

File

drupal/update.php, line 325
Administrative page for handling updates from one Drupal version to another.

Code

function update_task_list($active = NULL) {

  // Default list of tasks.
  $tasks = array(
    'requirements' => 'Verify requirements',
    'info' => 'Overview',
    'select' => 'Review updates',
    'run' => 'Run updates',
    'finished' => 'Review log',
  );
  drupal_add_region_content('sidebar_first', theme('task_list', array(
    'items' => $tasks,
    'active' => $active,
  )));
}