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.
The hook_flag_link() function signature in flag.api.php does not show any parameters being passed to the function - yet the documentation above it shows 3 parameters. I beleive this function should read:
function hook_flag_link($flag,$action,$entity_id) {
}
Comments
Comment #1
letapjar CreditAttribution: letapjar commentedComment #2
joachim CreditAttribution: joachim as a volunteer commentedThanks for reporting this. Fixed.