I create a panel
I have a default tab
I can set the weight of the tab
the parent of the default tab is in the menu system
how do I set the weight for the parent of the default tab?

Comments

skorzh’s picture

Issue summary: View changes

You can use hook_menu_alter() to set weight

/**
 * Implements hook_menu_alter().
 */
function MODULE_menu_alter(&$items) {

    $items['your_panel_path']['weight'] = 10;
}

or try my patch
https://www.drupal.org/node/2374831#comment-9338695

skorzh’s picture

Status: Active » Needs review

needs review

mglaman’s picture

Status: Needs review » Closed (works as designed)

No patch for CNR, and looks like the issue was a Page Manager bug resolved in #2374831: Can't set weight of Parent item if Panel menu item is default tab