Problem/Motivation

Layouts created after a node got created don't show in the list of possible layouts to change to through the IPE.

Proposed resolution

Try to fix a todo from Panels creator MerlinOfChaos from 2012, committed with #1249336: Allows Panels IPE to Change Layout.

Remaining tasks

Review.

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PieterDC created an issue. See original summary.

PieterDC’s picture

Assigned: PieterDC » Unassigned
FileSize
1.74 KB

At first this sounded and still sounds like a caching issue. But the patch from #2259957: Let other modules filter the available layouts in panels_ipe didn't help.
My colleague @michel.g created a patch that fixes our use cases; several panelized node types and some panelized custom entity types.

I've got a feeling this code can be improved upon, but we don't have more time for it now. At least, contributing the patch ...