Views Preprocessors
Component ID
1261974
Component name
Views Preprocessors
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
801
Component created
Component changed
Component body
Adds support for views preprocessors.
A module with the name myModule can implement a preprocessor for a view called myView by implementing the following preprocessor (note the double underscore):
myModule_preprocess_views_view__myView(&$vars) {
...
}
This module was born out of one of the issues in the Views' Issue queue: #303586: Preprocessors for each view
