- we don't call this at all
- if you really need to get an entity ID from a flagging, ID, you can now do:
$flagging = flagging_load($flagging_id);
$entity_id = $flagging->entity_id;
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | flag-remove-flag-get-entity-id-1888036-1.patch | 649 bytes | alexweber |
Comments
Comment #1
alexweber commentedSweet, a freebie :)
Comment #2
joachim commentedThanks!
"Issue #1888036 by alexweber: Removed flag_get_entity_id()."
Comment #4
ey commentedHow do I get the flagging_id programmatically using Flag 3 API?
Comment #5
joachim commentedCould you file a new support request, rather than add to closed issues? Also, be sure to read the docs first!