replace mention of 'hook_link' with a proper description

Created on 11 January 2013, almost 13 years ago
Updated 19 August 2025, 2 months ago

There is no hook_link() in D7; it was removed.

Therefore documentation that says 'the same format as hook_link()' is not very helpful now.

The mentions of 'hook_link' in the docs hook_flag_link() for should be updated, and the actual format explained in full detail.

AFAICT this only returns an array with title and href, at least in our implementation of it. Would be good to check what the module code does with what it gets from the invocation of that hook, just to be sure what its effective spec is!

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Documentation

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024