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.
Every list wrapper should expose a count property. (list:count in rules)
This way we can use that in rules conditions *and* calculate with it.
Comments
Comment #1
geek-merlinThis is entity api's job.
Comment #2
geek-merlinComment #3
mitchell CreditAttribution: mitchell commentedWoah. Good idea... (Deprecate #1284266: Condition: "list has count")
I'm a big fan of Entity API-based, calculated fields. Aside: This also reminds me of #1216328: Add a property for user's password.