Hi everyone,

as hook_menu() is gone since Drupal 8 the Panels module needs to be updated to the new structure.

Spend some time in searching the menu items today after realizing that Panels still tries to use hook_menu().
I'm wondering that there's nobody else who noticed this yet. :)

Best regards,
bjoernr-de

Comments

bjoernr-de created an issue. See original summary.

japerry’s picture

Yes, there are components in the 8.x branch that haven't been ported quite yet. When those are ported, this will be done.

japerry’s picture

Status: Active » Postponed
japerry’s picture

japerry’s picture

DamienMcKenna’s picture

DamienMcKenna’s picture

Status: Postponed » Active
DamienMcKenna’s picture

Title: Replace hook_menu() by panels.routing.yml » [META] Replace hook_menu() by panels.routing.yml
Version: 8.x-3.0-alpha20 » 8.x-3.x-dev
Category: Bug report » Task
Priority: Major » Normal
Parent issue: #2852655: Plan for Panels 8.x-4.8 release »

So there are three main parts of Panels that use hook_menu:

  • Main AJAX callback: is this still needed?
  • Panels settings pages: this functionality has not been ported yet.
  • Plugins which define new hook_menu instances: these have not been ported yet, right japerry?
  • MiniPanels settings: MiniPanels hasn't been ported yet (#2682445: [Meta] Port Mini Panels to D8).

Removing this from contention for the next beta as it depends on other tasks.

DamienMcKenna’s picture

Status: Active » Postponed
Related issues: +#2682445: [Meta] Port Mini Panels to D8
DamienMcKenna’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev

Does the problem happen with the latest 8.x-4.2 release?