[support] Pass arguments to hook_block

Ms. Nancy Wichmann nan_wich at bellsouth.net
Mon Feb 20 14:06:08 UTC 2012


Well, "argument" usually implies something in the URL, which is certainly available to you [arg()]. If this is a node display, then menu_get_item() will load that node for you.

 
Nancy




>________________________________
> From: Marolijo
> 
>
>Hello, I'm developing a module to show data related to actual node on a block.
>It's working and now I need to pass arguments to the block, is it possible? Something like an integer that comes form a select list.
>If it's not possible what's the way to do this?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120220/0449c0c1/attachment.html 


More information about the support mailing list