Disabling the Slate theme in Admin module on specific node type forms
A quick Drupal snippet/module hack for Admin. I'm not a fan of these kinds of hacks but I had to in this case.
I'm using this short snippet on a site for which I needed to disable Slate on certain node type forms. This was necessary since I wanted to disable Slate and display the default theme for regular users as well as administrators. (Otherwise I could sort it out with the 'admin inline and 'admin menu' permissions.)
Add the code in the file below at the start of the admin_init() hook in admin.module.








