function hook_mefibs_filter_alter in MEFIBS - More exposed forms in blocks 7
Same name and namespace in other branches
- 8 mefibs.api.inc \hook_mefibs_filter_alter()
Alter the filter values that will be passed to the view object.
Parameters
array $filters: An array of filters as key-value pairs (coming from incoming GET or POST request) that should be passed on to the view.
Related topics
1 function implements hook_mefibs_filter_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- mefibs_bef_mefibs_filter_alter in modules/
mefibs_bef/ mefibs_bef.module - Implements hook_mefibs_filter_alter().
1 invocation of hook_mefibs_filter_alter()
- mefibs_views_pre_build in ./
mefibs.module - Implements hook_views_pre_build().
File
- ./
mefibs.api.inc, line 44 - Sample hooks demonstrating usage in Mefibs.
Code
function hook_mefibs_filter_alter(&$filters) {
// This is a dumb example that would effectively break the selection of items
// per page. Only for illustration purposes.
$filters['item_per_page'] = 10;
}