function htmltidy_hook_info in HTML Tidy 7
Implementation of hook_hook_info().
File
- ./
htmltidy.module, line 16 - The htmltidy module uses Tidy (http://tidy.sf.net) to properly format HTML for saving and display.
Code
function htmltidy_hook_info() {
// Filter hooks.
$hooks['filter_info'] = array(
'group' => 'filter',
);
$hooks['filter_htmltidy_process'] = array(
'group' => 'filter',
);
$hooks['filter_htmltidy_settings'] = array(
'group' => 'filter',
);
$hooks['filter_htmltidy_tips'] = array(
'group' => 'filter',
);
// Node hooks.
// These should really be Entity hooks, but that won't be possible until
// the Entity versions of these functions exist (e.g. hook_entity_prepare().
$hooks['node_prepare'] = array(
'group' => 'node',
);
$hooks['node_validate'] = array(
'group' => 'node',
);
return $hooks;
}