Should'nt this ( http://api.drupal.org/api/group/hooks ) include a reference about theme hooks? After all, the title is "Hooks", not "Module Hooks." I understand that we cannot list the theme hooks in a core documentation because every new module can make available its own theme hooks to themers, but still a short reference to the concept of theme hooks ( http://api.drupal.org/api/group/themeable/ ) will be useful. I arrived at this page while searching information about theme hooks. Newbies need direction and there should be an easy way to get to theme hooks using the general keyword "hook."

CommentFileSizeAuthor
#6 736530-6.patch648 bytescrotown
#4 736530-4.patch644 bytesldpm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon’s picture

Version: 6.x-dev » 7.x-dev
Issue tags: +Novice

That is an excellent idea, and it should be fixed in Drupal 7 as well as Drupal 6.

The doxygen page explains how to link to a group: http://drupal.org/node/1354#general (scroll down to Links section).

In Drupal 7, this is in the core repository. In Drupal 6, it's in contrib.

Start with Drupal 7, please.

jhodgdon’s picture

Title: Documentation problem with Hooks » Hooks group/topic page should link to themeable group page
ldpm’s picture

Assigned: Unassigned » ldpm
ldpm’s picture

FileSize
644 bytes

Attempting to add a link to the themeable group in includes/module.inc.

ldpm’s picture

Assigned: ldpm » Unassigned
Status: Active » Needs review
crotown’s picture

FileSize
648 bytes

Looks good from looking at the code. I just added a space at the end of the sentence. And I put it the text of the link because I wasn't sure it would be parsed correctly if I put it outside.

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me, thanks!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

It's a bit odd to do this this way, but I don't think @see supports linking somewhere.

Committed to HEAD! Thanks!

crotown’s picture

Status: Fixed » Closed (fixed)
Issue tags: -Novice

Automatically closed -- issue fixed for 2 weeks with no activity.