devgen
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Devgen is a module that with the supplied or additional plugins will allow a simple method to perform tasks. Such tasks could be to generate 10 random users, with different roles, etc.
The main DevGen class provides a container for all the details and tasks, which can be stored in a module via a hook or in the database. The devgen config can also be imported from a JSON file using drush or the import menu. The class holds configs for DevGenProperty objects which allow for storing any properties that each task will have access to, the properties can also be updated during the execution of the DevGen class. Then finally we have tasks which are either conditional tasks or action tasks, these each have an entry point and multiple exit points, the exit point would be for example a success and a fail and allow to dictate what next task to perform.
