I am writing a reasonably easy module which permits Drupal Development removing of colons from subject output on a per subject foundation and I have to override Drupal Development core subject module’s theme_field operate in my module.
I can modify Drupal Development theme registry with hook_theme_registry_alter() and alter Drupal Development subject operate to level to my customized operate. Sadly as soon as I do this I am now not in a position to override subject.tpl.php in a theme.
Drupal Development Service cascade I might like to realize is so as of template choice (most essential first):
- Energetic theme’s subject.tpl.php
- My customized module’s subject.tpl.php (or custom_field theme operate)
- Area module’s theme_field operate
Is that this attainable?
This reply comes shut however requires a otherwise named template which I do not need. I might wish to preserve issues clear for Drupal Development themer so in the event that they override subject.tpl.php of their theme Drupal Development output is as anticipated, relatively than having to repeat a unique tpl file from my customized module.