Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download flag-7.x-3.4.tar.gztar.gz
109.7 KB
MD5: fc6cc801269540cc034e87b0fe0116c9
SHA-1: 7a3c22c853a8f6b1345ac0af5024a4418266121e
SHA-256: 9433184a57a0985859fe92f4a1801f971b9835bfb815e15c890346f691739228
Download flag-7.x-3.4.zipzip
134.01 KB
MD5: 610eb6eec410e601fe01d48ec09f558f
SHA-1: 9ed5c5281d181e59f3f327fa31cdb79024a4ec7c
SHA-256: d6393438a97f5615a5f4e31e643da1d3d236ff1980e9243e2ef12f1a5873a01d
Release notes
IMPORTANT: This version fixes the counts you get for flags within Rules and hook implementations! See the change records for details.
Changes since 7.x-3.3:
- #2151157 by ergophobe: Added ability to check for flagging by any user as well as current user to the CTools access plugin.
- #1882258 by dsdeiz: Removed use of Entity API function in CTools content types declaration.
- #2212727 by Shabana Blackborder: Added detail on behaviour of flag counts during flagging operations to Rules UI descriptions.
- #2217487 by joachim: Fixed ambiguous language in flag count function docs.
- #2208847 by joachim: Fixed static caches of Flag API not getting reset when flagging and unflagging.
- #2209711 by joachim: Fixed incorrect field in query in flag_get_flag_counts().
- #2208671 by joachim: Added testing of data from Flag API functions to hook invocation test.
- #2209409 by joachim: Changed test case to query the database directly to get a Flagging ID rather than use the Flag API.
- #2154251 by Shabana Blackborder, joachim: Fixed flags that react to other flags getting an incorrectly formed link when unflagging with the Javascript link; moved cache clears to be beside the database changes.
- #1930320 by flocondetoile, Boobaa: Fixed error in flag counts caused when a user is deleted and multiple flags are present on the same entities.
- #2165363 by joachim, Shabana Blackborder: Fixed new flag form having no default values for link display properties (regression from 2.x).
- #2202971 by joachim: Changed flag_flag::_flag() to take a $flagging record rather than separate values.
- #2203047 by joachim: Fixed FlagLinkTypeConfirmTestCase not checking the flagging record.
- #2202959 by joachim: Added documentation to clarify logic of hook invocation when updating a flagging.
- by joachim: Fixed typo in docs.
- #2196097 by joachim: Added testing of re-flagging case to FlagHookInvocationsTestCase.
- #2202953 by joachim: Fixed @return documentation for flag_get_entity_flags().
- #2193947 by jhedstrom: Fixed errors and glitches when permissions for a flag are in the same feature as the flag export.
- #2118483 by maximpodorov: Added static caching for CTools content type plugin.
- #2162925 by claudiu.cristea, joachim: Fixed hook_entity_presave() getting invoked with a NULL for the Flagging entity.
- #2193421 by joachim: Add tests for hook invocation and Rules event triggering during flag/unflag.
- #1965760 by joachim: Fixed flags using the wrong token type for entity types whose token type different from the entity type name. Adds soft dependency on Token module for flag-related tokens on other entities.
- by joachim: Added test_dependencies for token, so that Issue #1965760 can be tested.