As we discussed earlier, I stitched together a quick hook that allows external modules to define their own include directories. It does it per plugin type, which will mean developers can mirror the panels include directory structure OR just lump them all into one directory. Their choice.
| Comment | File | Size | Author |
|---|---|---|---|
| plugins.inc_.patch | 2.84 KB | sdboyer |
Comments
Comment #1
sdboyer commentedPatch has been committed. As of beta3, hook_panels_layout_directory will be available for implementation by other modules wishing to extend panels through their own *.inc files.
Comment #2
sdboyer commentedThe hook, as implemented in the above patch, does not garner all the necessary information. Reopening the issue to indicate that further work needs to be done.
Comment #3
sdboyer commentedCode has been fixed up; hook now appropriately remembers module name so that the correct module prefix can be called. Procedures are also in place to handle circumstances where either a) the module invokes the hook without returning anything, or b) the module invokes the hook but returns a subdirectory that does not contain the relevant data.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.