Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The call to theme() in hook_menu initializes the theme system and prevents subsequent switching of themes on admin/block. Possible workarounds: check the url or use theme_add_style.
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commented