[development] About hook_action_info()
icerain
doubaokun at gmail.com
Tue Jul 13 05:52:24 UTC 2010
When i implement hook_action_info(), i found the first para *$node* is
empty.
My question is
function mymodule_myaction_action(&$node, $context = array()) {
$node = $context['node']; // should this line be added?
...
}
Or something else error?
--
A decathlon Drupal developer & programmer
http://blog.eood.cn/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100713/61fac28d/attachment.html
More information about the development
mailing list