You are here

function update_theme in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/update/update.module \update_theme()
  2. 6 modules/update/update.module \update_theme()
  3. 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',
    ),
  );
}