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.
Flag API requires the flag type to be an entity.
It results in a notice when the token module is also enabled:
Notice: Undefined index: page in flag_token_info() (line 72 of sites/all/modules/contrib/flag/flag.tokens.inc).
Comment | File | Size | Author |
---|---|---|---|
#3 | flag_page-add_entity-2601234-3.patch | 5.06 KB | RunePhilosof |
Comments
Comment #2
RunePhilosof CreditAttribution: RunePhilosof commentedThis also changes the flag type to flag_page instead of page.
So it isn't backwards compatible.
Either it shouldn't change the flag type name or an update function should be added to convert existing.
Or we just ignore it, since it is just a -dev release.
Comment #3
RunePhilosof CreditAttribution: RunePhilosof commentedThe patch had the entity addition commented out because I forgot to remove the comments after generating the error message.
Fixed in this one