[drupal-devel] Hook_settings() confusion

Michael Jervis mike at fuckingbrit.com
Thu Jan 27 07:51:17 UTC 2005


According to the API (http://drupaldocs.org/api/head/function/hook_settings)

"This hook provides an administrative interface for controlling various
settings for this module. A menu item for the module under "site
configuration > modules" will appear in the administrative menu when this
hook is implemented."

However, in my mt-blacklist module I'm working on, I have defined the
function, but there is no link anywhere on the menu for the admin. Nor for
spam.module which also defines it.

Directly entering the url to the settings page for the module however works

Any idea what I've missed?

(4.5.2 install, CVS Spam)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3030 bytes
Desc: not available
Url : http://drupal3.drupal.org/pipermail/development/attachments/20050127/ce151443/smime.bin

More information about the drupal-devel mailing list