Issue #2702127 by yanniboi: Active / Inactive toggle for rules
This issue is mirrored on d.o by https://www.drupal.org/node/2702127.
I have exposed the config entity operations for enable and disable by adding link templates and added a Controller to handle them.
I have also added the 'active' checkbox to reaction rule settings and made sure that the event subscriber only triggers active rules.
For screenshots see drupal.org issue.
Added tests that make sure you are able to enable and disable rules and that disabled rules don't get triggered.
Added the csrf tokens and manually tested install, works fine through the UI
Hi, I am going to try to make the required change to this PR to avoid the branch conflict, as explained in comment 12 on https://www.drupal.org/node/2702127#comment-11683947