I'm adding in some theme suggestions using
mytheme_theme_suggestions_alter(), when certain criteria is met. My issue is, for some reason these additional theme suggestions are appearing at the top of the theme suggestions list whilst debugging.
Basically my theme suggestion is ignored, as Drupal believes my additional theme suggestions aren't a priority over the default ones.
<!-- FILE NAME SUGGESTIONS:
I've tried some 'dirty' solutions, such as trying to clear or reverse the
$suggestions array without any luck.
My guess is that the hook I'm using is actually running too early, however I'm unable to find a more appropriate one. Something dedicated to hooking into view theme suggestions would be great.
Thanks in advance.