protected DbUpdateController::updateTasksList($active = NULL)
Provides the update task list render array.
Parameters
string $active: The active task. Can be one of 'requirements', 'info', 'selection', 'run', 'results'.
Return value
array A render array.
File
- core/modules/system/src/Controller/DbUpdateController.php, line 544
Class
- DbUpdateController
- Controller routines for database update routes.
Namespace
Drupal\system\Controller
Code
protected function updateTasksList($active = NULL) { // Default list of tasks. $tasks = array( 'requirements' => $this->t('Verify requirements'), 'info' => $this->t('Overview'), 'selection' => $this->t('Review updates'), 'run' => $this->t('Run updates'), 'results' => $this->t('Review log'), ); $task_list = array( '#theme' => 'maintenance_task_list', '#items' => $tasks, '#active' => $active, ); return $task_list; }
Please login to continue.