Closed emodric closed 7 years ago
New configuration example.
netgen_information_collection:
system:
default:
actions:
default:
- email
- database
content_type:
ng_feedback_form:
- custom_action
si_order_spare_part:
- custom_action_2
All base action that are shared across all content types must be added under actions -> default tree.
All base action that are shared across all content types must be added under actions -> default tree.
I'm not sure this is a good idea.
You can't specify now for example that default action is email, except for a specific content type.
Default list should just be a default, for classes that do not specify the specific list, otherwise specific list is used, without merging it with default.
Implemented as described above.
Currently, every class that collects info needs to have a config counterpart, which seriously hinders editors ability to add forms on the fly.
It would be great to provide a (configurable) default actions config which would be used for all classes that do not have specific config.