Change record status: 
Introduced in branch: 
7.x-3.x
Introduced in version: 
7.x-3.19
Description: 

THIS CHANGE HAS BEEN REVERTED IN VIEWS 7.x-3.20.

The Views hook hook_views_pre_view() was badly named for how it actually worked - the "pre" prefix suggested it would work any time any view was being processed, but it actually only works when a view was being previewed or when $view->execute_display() is ran from custom code. As a result there was a major confusion over how or when to use this hook and many were lead astray.

The hook has been renamed to hook_views_pre_preview() so it is more clear how this hook is intended to be used.

Any custom or contrib modules which used hook_views_pre_view() will need to be updated to instead use hook_views_pre_preview().

Impacts: 
Site builders, administrators, editors
Module developers