Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since custom pane bundles can specify category pane
in their definition, it would be nice if the pane add form would default new panes of that type to the specified category.
Comment | File | Size | Author |
---|---|---|---|
#5 | fieldable_panels_panes-n2149989-5.patch | 1.49 KB | DamienMcKenna |
Comments
Comment #1
jhedstromComment #2
jhedstromLast patch didn't capture the form when adding through the panels ui.
Comment #3
jason.bell CreditAttribution: jason.bell commentedHelpful little patch. It makes sense to default category to the bundle to help users locate reusable items in the Panels content picker. Applied without issue and works a charm.
Comment #4
Pere OrgaWouldn't be better to be able to specify a different category for content in hook_entity_info_alter?
Comment #5
DamienMcKennaRerolled.
Comment #6
DamienMcKennaAt the very least it needs to also be added to the FPP type edit form.