You are here

public function sweaver_plugin_themeclasses::sweaver_menu in Sweaver 6

Same name and namespace in other branches
  1. 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

sweaver_plugin_themeclasses

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;
}