You are here

function update_theme in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/update/update.module \update_theme()

Implements hook_theme().

File

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

Code

function update_theme() {
  return array(
    'update_last_check' => array(
      'variables' => array(
        'last' => 0,
      ),
    ),
    'update_report' => array(
      'variables' => array(
        'data' => NULL,
      ),
      'file' => 'update.report.inc',
    ),
    'update_project_status' => array(
      'variables' => array(
        'project' => array(),
      ),
      'file' => 'update.report.inc',
    ),
    // We are using template instead of '#type' => 'table' here to keep markup
    // out of preprocess and allow for easier changes to markup.
    'update_version' => array(
      'variables' => array(
        'version' => NULL,
        'title' => NULL,
        'attributes' => array(),
      ),
      'file' => 'update.report.inc',
    ),
  );
}