Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
There is an extra ) at the end of the example function for hook_theme_registry_alter.
Comment | File | Size | Author |
---|---|---|---|
#2 | 875162.diff | 1.27 KB | ctmattice1 |
Comments
Comment #1
jhodgdonGood 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...
Comment #2
ctmattice1 CreditAttribution: ctmattice1 commentedhere's one
Comment #3
jhodgdonThank 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.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.
Comment #5
jhodgdonI also fixed this in Drupal 6, directly in the contrib repository.