You are here

function omega_tools_menu in Omega Tools 7.2

Same name and namespace in other branches
  1. 7 omega_tools.module \omega_tools_menu()
  2. 7.3 omega_tools.module \omega_tools_menu()

Implementation of hook_menu

File

./omega_tools.module, line 6

Code

function omega_tools_menu() {
  foreach (list_themes() as $theme) {
    $items['admin/appearance/settings/' . $theme->name . '/reset'] = array(
      'title' => $theme->info['name'],
      'page callback' => array(
        '_omega_tools_theme_reset',
      ),
      'page arguments' => array(
        $theme->name,
      ),
      'type' => MENU_CALLBACK,
      'access callback' => '_system_themes_access',
      'access arguments' => array(
        $theme,
      ),
    );
  }
  return $items;
}