I created a module to alter the query executed by a view, but i cannot figure it out how to test it ... I mean where should i see the results ? I've created the following files:
my_module.info
my_module.module
my_module.views.inc
in the second file i have:
function my_module_views_api() {
return array(
'api' => 3,
'path' => drupal_get_path('module', 'my_module'),
'template path' => drupal_get_path('module', 'my_module'),
);
}
and in the third one:
function my_module_hook_views_query_alter(&$view, &$query) {
var_dump($view);
}
Where should i be able to see the result of var_dump ?