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

geek-merlin’s picture

Title: Add list:count property » Add count property to list wrapper
Project: Rules » Entity API
Version: 7.x-2.x-dev » 7.x-1.x-dev
Component: Rules Core » Core integration

This is entity api's job.

geek-merlin’s picture

Issue summary: View changes
mitchell’s picture

Woah. 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.