You are here

function views_theme_wizard_menu in Views (for Drupal 7) 5

File

./views_theme_wizard.module, line 3

Code

function views_theme_wizard_menu($may_cache) {
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/build/views/wizard',
      'access' => user_access('administer views'),
      'title' => t('Theme wizard'),
      'callback' => 'views_theme_wizard_page',
      'type' => MENU_LOCAL_TASK,
    );
  }
  return $items;
}