public function sweaver_plugin_themeclasses::sweaver_menu in Sweaver 6
Same name and namespace in other branches
- 7 plugins/sweaver_plugin_themeclasses/sweaver_plugin_themeclasses.inc \sweaver_plugin_themeclasses::sweaver_menu()
Menu registry.
Overrides sweaver_plugin::sweaver_menu
File
- plugins/
sweaver_plugin_themeclasses/ sweaver_plugin_themeclasses.inc, line 14 - Theme classes plugin.
Class
Code
public function sweaver_menu(&$weight, $page_arguments, $base) {
$items = array();
// Theme classes groups administration.
$items['admin/settings/sweaver/themeclasses'] = $base + array(
'title' => 'Theme styles',
'page arguments' => array(
$page_arguments,
),
'type' => MENU_LOCAL_TASK,
'weight' => $weight++,
);
return $items;
}