You are here

function autosave_theme in Autosave 7.2

Implements hook_theme().

File

./autosave.theme.inc, line 9

Code

function autosave_theme() {
  return array(
    // Keys in 'autosave' are: form_id, url, period, timeout,
    // q, hidden, theme, savedTimestamp, savedDate, form_token. There's
    // no access check, watch out what these theme functions return!
    'autosave_saved_popup' => array(
      'template' => 'autosave_saved_popup',
      'path' => drupal_get_path('module', 'autosave'),
      'variables' => array(
        'autosave' => array(),
      ),
    ),
    'autosave_restore_popup' => array(
      'template' => 'autosave_restore_popup',
      'path' => drupal_get_path('module', 'autosave'),
      'variables' => array(
        'autosave' => array(),
      ),
    ),
  );
}