Macro Code extends the Macro module to provide automatic exporting of macros to "component" files. A component file is simply a .macro file with one or more macros. Component files should be used to group form submissions whenever it makes sense.
The purpose of keeping form macros (form submissions) in files is to provide an easy way of duplicating settings (database) changes between multiple copies of the same project (such as development, staging & production environments).
This helper module is not intended to duplicate the functionaly provided by modules such as Features, but rather provide a "catch-all" solution for form submissions that Features (and similar modules) do not support.
The intended workflow is as follows:
- make form changes until you are satisfied with the result
- create a component file and "resume recording" on it
- re-submit all forms which contain data required for that piece of
- stop recording
- commit component file to version control
- pull in the component file on another server and import it (if this is the
production environment, the component file can also be deleted from version
control at this point)
Development sponsored by ImageX Media.
- Maintenance status: Unknown
- Development status: Under active development
- Module categories: Administration, Developer, Import/Export, Utility
- Downloads: 635
- Last modified: November 27, 2014
- Stable releases are covered by the security advisory policy.
Look for the shield icon below.