3. Providing default configurations
Each module can add workflow-ng configurations. These configurations are default and can be altered by users (unless other specified). E.g. this allows modules to use workflow-ng for sending mail notifications while users are able to customize the mail texts.
To do this you need to implement:
Hook: hook_configuration
Returns: An array of configurations.
There are basically two ways to do this. The configurations are specified in a form API style structured arrays, so you can write this arrays yourself or you can workflow-ng's helper function workflow_ng_configure() to do it.
This examples show how configurations can be created by using the example configuration of workflow-ng, which just prints the content title of pages and stories, when they are viewed.
