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

NickWilde created an issue. See original summary.

  • NickWilde committed 0d435e1 on 7.x-3.x
    Issue #2840727 by NickWilde: Cleanup theme preprocess function calls
    
NickDickinsonWilde’s picture

Assigned: NickDickinsonWilde » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.