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.
in og_vocab_element_after_build(), the empty string value for #theme
$form[$field_name][LANGUAGE_NONE]['#theme'] = '';
ends up causing an error in theme(), "Theme hook not found".
Comment | File | Size | Author |
---|---|---|---|
#1 | og_vocab-unset-theme-2379169-1.patch | 573 bytes | brad.bulger |
Comments
Comment #1
brad.bulger CreditAttribution: brad.bulger commentedI changed it to unset the '#theme' key instead, it seems to be working OK.
Comment #2
amitaibuCorrect status
Comment #7
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedWorks for me. Thanks!