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.
Motivation:
Currently the theme functions in views_slideshow.theme.inc and views_slideshow_cycle.theme.inc are mostly prefixed with _views_slideshow/_views_slideshow_cycle and called from the modules files via the template_preprocess_theme_function().
This is slightly messy, bit of duplication and just wrong.
Solution:
- Rename the theme functions in *.theme.inc to the standard template_ format.
- Remove the linkage functions and comments from the module files
- Update the HOOK_theme() implementations to include the file key.
Comments
Comment #3
NickDickinsonWilde