function revisioning_theme in Revisioning 7
Same name and namespace in other branches
- 8 revisioning_theme.inc \revisioning_theme()
- 6.4 revisioning_theme.inc \revisioning_theme()
- 6 revisioning.module \revisioning_theme()
- 6.3 revisioning_theme.inc \revisioning_theme()
Implements hook_theme().
Register the theme_hooks() available in this module, with their arguments and default values.
1 string reference to 'revisioning_theme'
- revisioning.module in ./
revisioning.module - Allows content to be updated and reviewed before submitting it for publication, while the current live revision remains unchanged and publicly visible until the changes have been reviewed and found fit for publication by a moderator.
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;
}