Download & Extend

Split off registered callbacks, forms and themes from main module

Project:Amazon Store
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

Everything registered in a hook (including non-API helpers) can be split off the main module to amazon_store.pages.inc, so it only gets loaded on Amazon store pages.
This concept can be pushed further creating amazon_store.theme.inc or even more, but we'll start with this as a first step.

Comments

#1

Status:active» needs work

Committed enclosed patch as a start: http://drupalcode.org/project/amazon_store.git/commit/153a066
There is probably more that can be split off, so I'm leaving this issue open.

AttachmentSize
1075490_Split_off_pages.patch 45.82 KB
nobody click here