function hook_views_summarize_handlers in Views Summarize 7.2
Declares a summary for use by the Views summarize module.
In addition to implementing this hook, a module needs to implement hook_theme() and create the theme function. See the README.txt file for an example.
Return value
array An associative array, with the key being the machine name of the summary (which is usually also used as the machine name of the theme to call to get the summary), and the value being the title of the summary.
1 function implements hook_views_summarize_handlers()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
1 invocation of hook_views_summarize_handlers()
- views_summarize_get_handlers in ./
views_summarize.module - Returns a list of the available handlers.
File
- ./
views_summarize.api.php, line 25 - Hooks provided by the Views summarize module.
Code
function hook_views_summarize_handlers() {
return array(
'my_module_views_summarize_hours_min' => t('Hours and Minutes'),
);
}