function update_theme

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

Implements hook_theme().

File

modules/update/update.module, line 270

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',
        ),
    );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.