update_theme()

Implémente hook_theme().

Déposer

core/modules/update/update.module, ligne 187
Gère les mises à jour du noyau Drupal et des projets contribués.

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