I want to create a custom rule condition and a custom rule action. For this reason I created a custom module. Despite I found some info on creating the custom rule action, I cant find anything about the custom rule condition.

How should I created and what files do I need to create inside the custom module?


I think I found it, instead of creating a new module, I just created a new condition file inside rules/src/Plugin/Condition.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.