It will be nice to see all hook implementations reference in the API documentation.

When I want to see where is some core function used (eg. drupal_goto) on the documentation page is reference to all usage through Drupal core: http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_go... "44 functions call drupal_goto()". However on the hooks docs pages is this information missing - e.g. hook_form_alter http://api.drupal.org/api/drupal/modules--system--system.api.php/functio.... So if I want to see some hook implementation I need to search for it with "form_alter" and pick up the implementations from the fulltext search results by myself. It will be nice to have something like "12 modules implements hook_form_alter()".

It is possible to do it somehow with Doxygen? First whats pops into my mind was @see hook_somehook, but it is used for "See also list" which is probably not the right place.

Comments

wojtha’s picture

Status: Active » Closed (duplicate)

It seems there is a Doxygen command for that: @implements.

Closing as duplicate of #983268: Use @implements Doxygen directive for hook implementations. I tried to search before creating this issue but didn't found it.