[development] Node types in hook_form_alter()
Nancy Wichmann
nan_wich at bellsouth.net
Sat Dec 12 21:17:32 UTC 2009
James Benstead wrote:
> And if I use $form_id I have to use nodetype_node_form and convert it to
nodetype - and, as an aside,
> I can't find a PHP function to do this cleanly.
Look at the example in http://api.drupal.org/api/function/hook_form_alter/6.
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091212/3375cb94/attachment.html
More information about the development
mailing list