[development] Accessing a node

Ayen Designs info at ayendesigns.com
Fri Aug 7 18:25:30 UTC 2009



During presave of a node, I am calling drupal_mail, which in turn calls 
my mail hook. In it, I need node info for the subject, but $node isn't 
passed and global $node doesn't bring it up either...how can I get at 
it? I thought of passing the information in the $parms array, but it 
looks like that array might be iterated at some point for other use.




-- 

Ayen Designs
388 Bullsboro Drive #105 · Newnan, Georgia 30263
404-271-9734
ayendesigns.com <http://ayendesigns.com>

Ayen Designs is a tradename of the computer services division of

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090807/44d951b9/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graphics1
Type: image/jpeg
Size: 8316 bytes
Desc: not available
URL: <http://lists.drupal.org/pipermail/development/attachments/20090807/44d951b9/attachment-0001.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acmeholdingcorp.jpg
Type: image/jpeg
Size: 1462 bytes
Desc: not available
URL: <http://lists.drupal.org/pipermail/development/attachments/20090807/44d951b9/attachment-0001.jpg>


More information about the development mailing list