array('create mini panels'), 'file' => 'panels_mini.admin.inc', ); $items['admin/build/mini-panels/settings'] = array( 'title' => 'Settings', 'page callback' => 'panels_mini_settings', 'type' => MENU_LOCAL_TASK, ) + $base; // Also provide settings on the main panel UI $items['admin/build/panels/settings/panels-mini'] = array( 'title' => 'Mini panels', 'page callback' => 'panels_mini_settings', 'type' => MENU_LOCAL_TASK, ) + $base; return $items; } /** * Settings for mini panels. */ function panels_mini_settings() { ctools_include('common', 'panels'); return drupal_get_form('panels_common_settings', 'panels_mini'); }