You are here

public function sweaver_plugin_themeclasses::sweaver_menu in Sweaver 7

Same name and namespace in other branches
  1. 6 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/config/user-interface/sweaver/themeclasses'] = $base + array(
    'title' => 'Theme styles',
    'page arguments' => array(
      $page_arguments,
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => $weight++,
  );
  return $items;
}