function update_task_list
7.x update.php | update_task_list($active = NULL) |
6.x update.php | update_task_list($active = NULL) |
Adds the update task list to the current page.
4 calls to update_task_list()
- update_check_requirements in drupal-7.x/
update.php - Checks update requirements and reports errors and (optionally) warnings.
- update_info_page in drupal-7.x/
update.php - Provides an overview of the Drupal database update.
- update_results_page in drupal-7.x/
update.php - Displays results of the update script with any accompanying errors.
- update_selection_page in drupal-7.x/
update.php - Renders a form with a list of available database updates.
File
- drupal-7.x/
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)));
}