Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download flag-7.x-3.0-beta1.tar.gztar.gz 99.95 KB
MD5: fb3d8c52ca64a6b6750cedaeefa3f9c1
SHA-1: 9f83720693ff74a456c0f6e3434f0d883d76f1f0
SHA-256: d46f4295e2baf74efea4e97b0677b45dbfaa358227b563d5f7392db675e70c2c
Download flag-7.x-3.0-beta1.zipzip 122.89 KB
MD5: 73925d29e04323e67a6d85a8b6788f97
SHA-1: e1511623664042553d1059aa1f8364192f6fb83a
SHA-256: d010aaf7824f09b744a8bd209b0ad69c3c9e9cd2b06e5908658b057d3e3f6289

Release notes

The upgrade from Flag 7.x-2.x to 7.x-3.x must be made in isolation of any other module upgrades, as other upgrades will cause database errors due to Flag's tables being renamed. See #1870300: Upgrade from Flag 2.x to Flag 3.x can fail if other update hooks clear cache for details.

Changes since 7.x-3.0-alpha4:

  • #1965040 by shawn_smiley: Changed handling of return values from hook_flag_user_access() to allow all implementing modules to be considered.
  • #1992814 by joachim: Renamed uses_hook_link() to shows_in_entity_links().
  • #843308 by mooffie, walker2238, joachim: Added support for multiple instances of the same flag on the same page.
  • #1992810 by joachim: Removed flag_link() and refactored entity link creation in hook_entity_view().
  • #1892372 by joachim: Fixed node and comment preview showing flags not assigned to their particular bundle.
  • by joachim: Fixed missing flag access check on flag pseudofield.
  • #1784402 by joachim: Changed handling of node forms to be done generically in hook_field_attach_form() instead of in hook_form_alter().
  • #1991336 by joachim: Removed optional parameters from $flag->theme(), as these can be passed into the $variables array.
  • #1992794 by joachim: Removed backward compatibility variables from template_preprocess_flag().
  • #1992790 by joachim: Fixed flag_create_link() docblock recommending a function call in a template.
  • #1892930 by joachim, chrisjlee: Added placement of flag links as pseudofields.
  • #1793572 by Zarabadoo, socketwench: Changed the creation of CSS class variables from being handled in theme preprocessor to theme processor.
  • #1439168 by joelstein: Fixed flag trim removing flaggings for the anonymous user.
  • #1871426 by alexweber, chrisjlee: Added ability to set display of flag links on specific view modes.
  • #1921106 by donatasp: Fixed use of drupal_access_denied() causing 'cannot modify header information' errors.
  • #1896854 by hefox: Changed flag_flag_access() to use flag->fetch_content() cache.
  • #1905004 by alexweber: Fixed flag export to Features not finding module that provides the entity as a dependency.
  • #1912208 by steveoliver: Fixed hook_flag_access() missing a mention of hook_flag_access_multiple().
  • #1905766 by alexweber: Removed declaration of flag type for taxonomy vocabularies.
  • #1905750 by alexweber: Added module property to hook_flag_type_info(), and explicitly defined taxonomy term flag type, so that non-required core modules correctly declare dependencies.
  • Revert "Issue #1905750 by alexweber: Added implementations of hook_flag_type_info() on behalf of non-required core modules."
  • #1905750 by alexweber: Added implementations of hook_flag_type_info() on behalf of non-required core modules.
  • #952114 by mooffie, acrollet, snufkin: Added hook_flag_validate().
  • #1864246 by alexweber: Removed old Views Bookmark logic in updateLink().
  • #1888074 by alexweber: Removed unused implementation of hook_mail().
  • #1862710 by alexweber: Fixed PHP notice for entities without a base table.
  • #1894030 by alexweber: Removed reset parameter in flag_get_counts() in favour of drupal_static_reset().
  • #1886560 by alexweber: Removed reset parameter in flag_get_user_flags() in favour of drupal_static_reset().
  • #1888036 by alexweber: Removed flag_get_entity_id().
  • #1862404 by alexweber: Fixed mention of node_type in flag_schema() field comments.
  • #1887738 by alexweber: Changed _flag_url() to a class method.
  • #1890856 by joachim: Fixed calls to Views 2 compatibility methods (removed by 93cf7f9) in Views flaggability plugin.
  • #1890520 by alexweber: Removed unused global in flag_link().
  • #891722 by mooffie, joachim: Removed [node:type] hack for token replacement where there is no real node available.
  • #1888058 by vomiand: Removed check for flag_content module hook_requirements().
  • #1888068 by chrisjlee: Remove empty hook_install() implementations.
  • #1888330 by joachim: Removed check for flag property on node during node preview.
  • #1730164 by joachim: Changed flag admin form link options to use Form API states rather than JavaScript.
  • by joachim: Changed single-line arrays in calls to theme() to multi-line.
  • by joachim: Added API docs for hook_flag_export_alter().
  • by joachim: Moved functions for Drupal core operations lower down in module code.
  • by joachim: Moved hook_schema() to be at the top of the .install file.
  • by joachim: Moved hook implementations so contrib integration functions are together.
  • by joachim: Moved flag_trim_flag() and flag_reset_flag() to public API section of module file.
  • #1315850 by mh86, joachim, madmatter23: Added support for Entity API metadata properties.
  • #1776238 by jyee, joachim: Added a flagging_save() API function, and ability to save flaggings with EntityMetadataWrapper.
  • #1886244 by joachim: Changed parameters of _insert_flagging() to match other private CRUD methods.
  • by joachim: Removed obsolete Views 2 compability methods.
  • by joachim: Fixed missing detail about link type template suggestion in README.
  • by joachim: Removed obsolete details in README.
  • by joachim: Removed obsolete comment.
  • by joachim: Changed layout of big theme arrays to be more readable.
  • by joachim: Removed unneeded cache clearings from tests.
  • #1881964 by joachim: Fixed missing documentation for type_access() and type_access_multiple() return value.
  • by joachim: Changed flag test base class to be parent of all our test classes.
  • #1882006 by joachim: Fixed flag defaults not respected on node add form if creating user doesn't have access.
  • #1792584 by joachim: Fixed flag links displayed twice on user profile.
  • #1734550 by pebosi: Removed unused form property '#flag_link_fields' and helper function.
  • #887360 by joachim: Changed forms to standardize the way $flag is passed to submit handlers.
  • #1877290 by csdco: Fixed flag_init() not using module_load_include().
  • #1878296 by joachim: Added tests for the confirm form link type.
  • #1717672 by joachim: Added tests for basic access to flagging and unflagging.
  • #1877378 by joachim: Fixed incorrect documentation in flag_flag()::theme().
  • #1877448 by joachim: Changed update system to have clearer class names and allow API point versions.
  • #1793744 by joachim: Moved flag_link() to follow flag_entity_view(); added docs now it is no longer a hook implementation.
  • #1784382 by joachim: Fixed entities unable to show edit form checkbox showing the option in flag admin form.
  • by joachim: Changed notice about taxonomy entity view now fix for Drupal core bug #1067120 is released.
  • #1367268 by joachim: Fixed whitespace around flag name not trimmed on submission.
  • #1875854 by joachim: Removed #after_build for radio button descriptions; not needed on D7.
  • by joachim: Changed query to be more legible.
  • #1868236 by joachim: Fixed missing FieldUI paths after creation of first flag.
  • #1373550 by timdorr: Fixed Javascript on flag links preventing event bubbling.
  • by joachim: Fixed missing function documentation.
  • #1860578 by laughnan: Changed complex expression in flag_flag::access_entity_enabled() to be more readable.
  • Revert "Issue #1304790 by fago, drewish: Fixed flagging-user sub-tokens not replaced."
  • Revert "by joachim: Added mising comment from previous patch."
  • by joachim: Added mising comment from previous patch.
  • #1304790 by fago, drewish: Fixed flagging-user sub-tokens not replaced.
  • by joachim: Fixed typo and changed single quotes to double.
  • #1804228 by Jorrit: Fixed robots.txt recommendation wrong when language negotiation is domain based.
  • #1817644 by barraponto: Added flag template suggestion for link type.
  • #1784112 by laughnan: Moved _flag_entity_enabled() to a method of flag base class.
Created by: joachim
Created on: 13 May 2013 at 21:11 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
New features
Bug fixes
Insecure

Other releases