Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By hmdnawaz on
I have created a loop in the rules actions and using conditional_rules module.
If a certain condition is true I am setting variable to a specific value and want to terminate that loop so that my variable have that update value.
Is there any way to break/terminate the loop or should I create a custom action for this?
If YES to custom action then what will be the return value for the custom action callback function?
I have tried the following in the custom action callback function but did not work.
return FALSE;
return 0;
break;
Comments
I'm also interested.
I'm also interested.
return FALSE
return FALSE
is working.Ahmad Nawaz
Acquia Certified Developer
Email: hmdnawaz@gmail.com
Skype: hmdnawaz