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.
i need a condition to check the equivalence of the logged in user vs the user being viewed. is this possible? with rules core? if not, how could i acheive this check to limit my rules actions based on the result of the above condition?
Comments
Comment #2
Syntapse CreditAttribution: Syntapse as a volunteer commentedComment #3
Syntapse CreditAttribution: Syntapse as a volunteer commentedComment #4
TR CreditAttribution: TR commentedHere's how I would do it:
Comment #5
Syntapse CreditAttribution: Syntapse as a volunteer commentedwhat format is this please? is there an equivalent series of steps to access through the UI?
Comment #6
TR CreditAttribution: TR commentedThat's an export of a Rule configured in the UI. To use this on your own site, go to /admin/config/workflow/rules, click the "Import rule" link at the top, then copy #4 and paste into the form there. After you save, the Rule with show up in the UI on your site, it will be working, and you can examine it and modify it.
Comment #7
Syntapse CreditAttribution: Syntapse as a volunteer commentedthanks for your help.