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.
I think I have a pretty straightforward question and I'm simply overlooking something.
I subthemed from bootstrap, and now I want to (for example) disable the bootstrap_process_book_navigation function within book-navigation.vars.php.
I tried introducing my own "mytheme_process_book_navigation" function, within my own "book-navigation.vars.php" file (in my subtheme folder), but this does not disable the bootstrap (parent) function. How do I accomplish this without patching?
Thanks in advance!
Comments
Comment #2
markhalliwellYou really cannot, unless you're willing to alter the theme registry in your sub-theme and remove said hooks.