[development] Blocks and page context

E.J. Zufelt lists at zufelt.ca
Fri Apr 23 14:48:37 UTC 2010


Good morning,

I am building a module and invoking hook_block.  I am wondering if there is a way for my block to gain some context about the page on which it will be rendered.  Primarily I would like to know if my block can be aware of the URL of the page being displayed (not the http-requested URL in case they differ), and the access permissions of the page being displayed (not those of the block itself, or of the user accessing the block.

Thanks,


Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100423/5dbd64a4/attachment.html 


More information about the development mailing list