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.
If you have an action with an OPTIONAL parameter and there was previously defined a user rules variable with the same name as the optional parameter, AND that parameter has no value, then it occasionally gets the value from the variable.
I tried to make a simple demonstration, so you can easily try it in seconds: https://github.com/OnkelTem/drupal_vartest
Extract it where you have your modules, and then enable "Vartest_feature".
Prereqs: Features, Rules.
Comments