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.
Spun off from #1776238: add a flagging_save() API function, and ability to save flaggings with EntityMetadataWrapper .
If I do $flag->flag() and pass in a freshly created flagging entity (ie, created but not saved), I don't get a flagging_id set in the object. Other weird things seem to be going on too.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1886244.flag_.clean-up-flag-flagging.patch | 1.88 KB | joachim |
Comments
Comment #1
joachim CreditAttribution: joachim commentedNot as bad as I thought -- my test code was at fault. *sigh*
Still worth a clean-up though.
Comment #2
joachim CreditAttribution: joachim commented