function update_task_list in Drupal 7
Same name and namespace in other branches
- 6 update.php \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 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,
)));
}