You are here

function autosave_custom_theme in Autosave 7.2

Implements hook_custom_theme().

File

./autosave.module, line 105
Does background saves of node being edited.

Code

function autosave_custom_theme() {

  // Ensure that the correct theme is used when restoring a form.
  if (strpos($_GET['q'], 'autosave/restore') === 0) {
    $theme = arg(5);
    return !empty($theme) ? $theme : NULL;
  }
}