Use @implements Doxygen directive for hook implementations

Created on 27 November 2010, about 14 years ago
Updated 31 January 2025, 5 days ago

Instead of

/**
 * Implements hook_help().
 */

we could have

/**
 * @implements hook_help()
 */

@implements is actually a standard Doxygen command: http://www.stack.nl/~dimitri/doxygen/commands.html#cmdimplements

api.drupal.org could then list all the implementations of each hook.

πŸ“Œ Task
Status

Needs work

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom jbrown

Live updates comments and jobs are added and updated live.
  • Documentation

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

  • Coding standards

    It involves compliance with, or the content of coding standards. Requires broad community agreement.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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