Add action links in custom module page I am writing a custom module for my project which handles a list of content (from custom db table) and content addition, following is my code.

function cp_menu() {
    $items = array();
    $items['admin/structure/package'] = array(
    'title' =&gt; t('Packages'),
        'page callback' =&gt; 'cp_packages_list',
        'access arguments' =&gt; array('administer access control'),
        'description' =&gt; t('Packages'),
        'type' =&gt; MENU_CALLBACK,
    );
    $items['admin/structure/package/add'] = array(
    'title' =&gt; t('Add package'),
        'page callback' =&gt; 'cp_form',
        'access arguments' =&gt; array('administer access control'),
        'description' =&gt; t('Add package'),
        'type' =&gt; MENU_CALLBACK,
    );
    return $items;
}

function cp_packages_list(){
    return 'this is a test page';
}
function cp_form() {
    return array('#markup'=&gt;drupal_get_form('cp_my_form'));
}


it is working properly, but i want to show action links (add content type) at top of page like


How can i add action links on page?

my action links would be 'Add package' and 'View orders'
$items['admin/structure/types'] = array(
    'title' =&gt; 'Content types',
    'description' =&gt; 'Manage content types, including default status, front page promotion, comment settings, etc.',
    'page callback' =&gt; 'node_overview_types',
    'access arguments' =&gt; array('administer content types'),
    'file' =&gt; 'content_types.inc',
  );
  $items['admin/structure/types/list'] = array(
    'title' =&gt; 'List',
    'type' =&gt; MENU_DEFAULT_LOCAL_TASK,
    'weight' =&gt; -10,
  );
  $items['admin/structure/types/add'] = array(
    'title' =&gt; 'Add content type',
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('node_type_form'),
    'access arguments' =&gt; array('administer content types'),
    'type' =&gt; MENU_LOCAL_ACTION,
    'file' =&gt; 'content_types.inc',
  );


This is what exist on node.module, modify to set the type to MENU_LOCAL_ACTION

Hope that help.