Same name and namespace in other branches
  1. 10 core/modules/update/update.module \update_theme()
  2. 6.x modules/update/update.module \update_theme()
  3. 8.9.x core/modules/update/update.module \update_theme()
  4. 9 core/modules/update/update.module \update_theme()

Implements hook_theme().

File

modules/update/update.module, line 270
Handles updates of Drupal core and contributed projects.

Code

function update_theme() {
  return array(
    'update_manager_update_form' => array(
      'render element' => 'form',
      'file' => 'update.manager.inc',
    ),
    'update_last_check' => array(
      'variables' => array(
        'last' => NULL,
      ),
    ),
    'update_report' => array(
      'variables' => array(
        'data' => NULL,
      ),
      'file' => 'update.report.inc',
    ),
    'update_version' => array(
      'variables' => array(
        'version' => NULL,
        'tag' => NULL,
        'class' => array(),
      ),
      'file' => 'update.report.inc',
    ),
    'update_status_label' => array(
      'variables' => array(
        'status' => NULL,
      ),
      'file' => 'update.report.inc',
    ),
  );
}