function theme_update_manager_update_form

Returns HTML for the first page in the process of updating projects.

Parameters

$variables: An associative array containing:

  • form: A render element representing the form.

Related topics

File

drupal/core/modules/update/update.manager.inc, line 279
Administrative screens and processing functions of the Update Manager module.

Code

function theme_update_manager_update_form($variables) {
  $form = $variables['form'];
  $last = Drupal::state()
    ->get('update.last_check') ?: 0;
  $output = theme('update_last_check', array(
    'last' => $last,
  ));
  $output .= drupal_render_children($form);
  return $output;
}