Answer the question
In order to leave comments, you need to log in
How to correctly create a PHP condition in the rules in drupal?
I am creating a rule in the RULES module in Drupal.
There is a condition that if the [flagged-node:author] field is equal to [flagged-node:field_responsible_task], then the rule should not be executed.
I am new to PHP. Please tell me what should be between <?php and ?>
You need to use arg(0), but I don't understand what that means.
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question