Rules Import
Categories
Component ID
2179125
Component name
Rules Import
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module provides an easy way to import previously exported Rules definitions.
INSTALLATION
- Create 'sites/all/imports/rules' folder.
- Export the Rule you wish to import and paste the export code into separate text files with '.inc' extension.
- Place the newly created text files in the 'sites/all/imports/rules' subdirectory.
- Do not forget to add '<?php' line to the top of the files.
- Ensure all dependant modules are installed.
- Install this module.
The idea is that you could have a collection of commonly used rules in a folder. Then, when you start a project, copy the required rules definitions into this module and install. This will add all the rules in one go, saving you from using the Rule import form provided by Rules module.
If you are happy with using the import form provided by Rules module then you don't need this module. This is very small module that just makes it easier to install rules from previously saved text files.