[development] How to disable any block or sidebar from module

Tomáš Fülöpp (vacilando.org) tomi at vacilando.org
Fri Jul 17 16:33:13 UTC 2009


Hi,

I cannot find a generic way how to disable a sidebar programmatically.

In my module, if some conditions are met, I would like to make sure that the
whole sidebar (or any blocks in it) are not rendered at all, regardless of
the theme.

Could somebody advise, please? Sorry if it's obvious..

Thanks,

*vacilando*

--
Tomáš J. Fülöpp
http://www.vacilando.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090717/17a3fd30/attachment.htm>


More information about the development mailing list