rules icon indicating copy to clipboard operation
rules copied to clipboard

Issue #2702127 by yanniboi: Active / Inactive toggle for rules

Open yanniboi opened this issue 9 years ago • 4 comments

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.

yanniboi avatar May 11 '16 15:05 yanniboi

For screenshots see drupal.org issue.

yanniboi avatar May 11 '16 15:05 yanniboi

Added tests that make sure you are able to enable and disable rules and that disabled rules don't get triggered.

yanniboi avatar May 11 '16 22:05 yanniboi

Added the csrf tokens and manually tested install, works fine through the UI

yanniboi avatar Jun 10 '16 10:06 yanniboi

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

jonathan1055 avatar Apr 21 '17 10:04 jonathan1055