August 2013

Disable Drupal Block Form

I often use the Context module for managing the block on sites. This is great, but then you have some settings in Context and some settings in the core Blocks config form. That can quickly become messy, so I wanted to find a way to “disable” the Blocks config so that users have to trely on Context. Actually, its just a few form_alter hooks to modify the forms in question. I usually just drop these into a custom module (or feature) when I want to lock things down.