There is an extra ) at the end of the example function for hook_theme_registry_alter.

CommentFileSizeAuthor
#2 875162.diff1.27 KBctmattice1
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhodgdon’s picture

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

Good catch! Fix in D7 first...
http://api.drupal.org/api/function/hook_theme_registry_alter/7

It's referring to the @code example.

Good project for a novice Drupal contributor...

ctmattice1’s picture

Status: Active » Needs review
FileSize
1.27 KB

here's one

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

Thank you ctmattice1! Looks good.

After committing to D7, please move to D6. Hook docs are in the contrib repository in D6, as a reminder for anyone who wants to fix it there.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

jhodgdon’s picture

Version: 7.x-dev » 6.x-dev

I also fixed this in Drupal 6, directly in the contrib repository.

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

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