I have a created a view (lets call it my_view
).
In the theme: information section if the view I have noted one of the suggested template names (views-view--my-view--default.tpl.php
(or close to that)), and created my own template file with that name.
This all works fine and when I visit the theme registry, I can see there is a hook there with the name of the template (views-view--my-view--default
). However this hook has a type field of engine rather than module . I assume this is to do view the way views works out its own theming?
I want to implement hook_registry_alter
to modify this theme hook (and others created in the same way), but I cant work out how to retrieve a list of these hooks.
I tried using array_keys(views_theme()
) to get all the views hooks back but this list doesn t contain hooks created by over-riding template files. It only contains the default hooks like views_views_field etc
Is there a way to bring back a list of views theme hooks over-ridden in this way?