V
V
Vadim Timoshenko2015-03-23 19:00:43
Drupal
Vadim Timoshenko, 2015-03-23 19:00:43

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

1 answer(s)
D
Dzen_Marketing, 2015-07-13
@Dzen_Marketing

Use data compare, click from UI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question