function update_task_list

Adds the update task list to the current page.

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

File

./update.php, line 321

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,
    )));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.