Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: 8.x-3.x
Choose a base branch
from

Conversation

yanniboi
Copy link
Contributor

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.

…ns for reaction rules and updated event subscriber to only trigger active rules.
@yanniboi
Copy link
Contributor Author

For screenshots see drupal.org issue.

@yanniboi
Copy link
Contributor Author

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

@yanniboi
Copy link
Contributor Author

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

@jonathan1055
Copy link

jonathan1055 commented Apr 21, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants