1 update.module update_theme($existing, $type, $theme, $path)

Implements hook_theme().

File

core/modules/update/update.module, line 127
Handles update checking for Backdrop core and contributed projects.

Code

function update_theme($existing, $type, $theme, $path) {
  $base = array(
    'file' => 'update.theme.inc',
  );

  return array(
    'update_last_check' => array(
      'variables' => array('last' => NULL),
    ) + $base,
    'update_report' => array(
      'variables' => array('data' => NULL),
    ) + $base,
    'update_version' => array(
      'variables' => array('version' => NULL, 'tag' => NULL, 'class' => array()),
    ) + $base,
    'update_status_label' => array(
      'variables' => array('status' => NULL),
    ) + $base,
  );
}