function revisioning_theme in Revisioning 8
Same name and namespace in other branches
- 6.4 revisioning_theme.inc \revisioning_theme()
- 6 revisioning.module \revisioning_theme()
- 6.3 revisioning_theme.inc \revisioning_theme()
- 7 revisioning_theme.inc \revisioning_theme()
Implements hook_theme().
Register the theme_hooks() available in this module, with their arguments and default values.
File
- ./
revisioning_theme.inc, line 14 - Include file for revisioning.module; deals with all theming aspects.
Code
function revisioning_theme() {
$theme = array();
$theme['revisioning_revisions_summary'] = array(
// Index in the $variables[] array when
// function theme_revisioning_revisions_summary($variables) gets called.
'render element' => 'form',
);
$theme['revisions_pending_block'] = array(
// Uses revisions-pending-block.tpl.php.
'template' => 'revisions-pending-block',
);
$theme['revisions_summary'] = array(
// Uses revisions-summary.tpl.php.
'template' => 'revisions-summary',
);
return $theme;
}