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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom’s picture

Status: Active » Needs review
FileSize
751 bytes
jhedstrom’s picture

Last patch didn't capture the form when adding through the panels ui.

jason.bell’s picture

Helpful 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.

Pere Orga’s picture

Wouldn't be better to be able to specify a different category for content in hook_entity_info_alter?

DamienMcKenna’s picture

FileSize
1.49 KB

Rerolled.

DamienMcKenna’s picture

Status: Needs review » Needs work

At the very least it needs to also be added to the FPP type edit form.