function themekey_revisioning_themekey_paths in ThemeKey 6.4
Same name and namespace in other branches
- 6.3 modules/themekey.revisioning.inc \themekey_revisioning_themekey_paths()
- 7.3 modules/themekey.revisioning.inc \themekey_revisioning_themekey_paths()
- 7 modules/themekey.revisioning.inc \themekey_revisioning_themekey_paths()
- 7.2 modules/themekey.revisioning.inc \themekey_revisioning_themekey_paths()
Implements hook_themekey_paths().
File
- modules/
themekey.revisioning.inc, line 15 - Integrates Revisioning module's paths into ThemeKey.
Code
function themekey_revisioning_themekey_paths() {
$paths = array();
$paths[] = array(
'path' => 'node/#node:nid/unpublish',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/view',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/edit',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/publish',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/unpublish',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/revert',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/delete',
);
$paths[] = array(
'path' => 'node/#node:nid/revisions/#node:vid/compare',
);
return $paths;
}