I'm trying to edit the variables that go from Views into the form array editted by
hook_form_alter() and the tpl file
views-exposed-form.tpl.php. Specifically, I'm trying to use the contents of
$view->exposed_input for form theming, without resorting to using
$view = views_get_current_view();
I've tried working my way up the order of execution defined here:
...but I'm stuck. At
$view->exposed_widgets gives me already-rendered HTML, so it's clearly too late, but the earlier ones don't give me anything at all.
Based on How to choose between all the views hooks?, I've tried using a preprocess hook based on the tpl file name, like
hook_preprocess_views_exposed_form(), but the view isn't in scope here, I'm looking for the last views hook before this where I can find data from the view to these variables.
What I want to do, is take the contents of
$view->exposed_input, and pass it through to the exposed form
tpl file so that I can add a facet-like summary of current filters to my view. Which is the Views hook where I can do this?
I'm using Better Exposed Filters module, so if there are any hooks or tricks specific to that,they'd be welcome.