update_theme

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',
    ),
  );
}
doc_Drupal
2016-10-29 09:51:28
Comments
Leave a Comment

Please login to continue.