In #920662: Putting custom content panes in code, merlin suggested that custom content panes can be exported using Features module. I've been looking through Features and haven't been able to find anything about this.

Does anyone have a tip about where this lives in the Features interface or is it a setting in the Custom Content Pane admin?

Thanks!
Colin

Comments

sagannotcarl’s picture

Issue tags: +Features integration

tagging.

edward_or’s picture

It looks to me that Custom Content Panes can not be exported using Features. I would, however, love to be wrong.

merlinofchaos’s picture

My understanding is that anything exportable via export.inc should be exportable by features, but I am not familiar with features specifically.

edward_or’s picture

I have asked #1068528: Custom content panes Integration? over on the Features issue cue to see if they might be able to answer.

logickal’s picture

After digging though the Features code and talking a bit with merlinofchaos, it looks like Features is not handling exportables who have an API owned by 'ctools' - I still have a limited understanding of the intricacies of Feature's code, but it looks like that Features goes through and tries to create a hook_features_api() implementation for each module, passing through the ctools export functions, causing some sort of collision for these particular submodules that are owned by ctools. The Page Manager and Panel Layout modules are owned by themselves, so they have no problem being exported.

logickal’s picture

For those that are interested, I've posted a patch to Features over in #7 at #1068528: Custom content panes Integration? that seems to fix the problem.

sagannotcarl’s picture

I'm marking this a duplicate.

It looks like #1079440: Module name check prevents panels custom content panes export has a long-term solution and #1068528: Custom content panes Integration? has a short-term fix (or so I gather from suggestions on those threads.

sagannotcarl’s picture

Status: Active » Closed (duplicate)