There are some improvements that could be made to hook_menu() which would have the side effect of making some other patches (#1798294: Can't edit non-current node revisions) simpler.

CommentFileSizeAuthor
#1 panelizer-n2280467-1.patch3.16 KBdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new3.16 KB

The main change was that 'page callback' => 'panelizer_entity_plugin_switcher_page' didn't need to be added on every item.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

  • Commit 8cd1cda on 7.x-3.x by DamienMcKenna:
    Issue #2280467 by DamienMcKenna: Clean up hook_menu().
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.