You are here

function htmltidy_filter_info in HTML Tidy 7

Implementation of hook_filter_info().

File

./htmltidy.filter.inc, line 11
The HTML Tidy hook implementations for Drupal's Filter system.

Code

function htmltidy_filter_info() {
  $filters['htmltidy'] = array(
    'title' => t('HTML Tidy'),
    'description' => t('Corrects faulty and invalid HTML according to htmltidy configuration rules.'),
    'process callback' => 'htmltidy_filter_htmltidy_process',
    'settings callback' => 'htmltidy_filter_htmltidy_settings',
    'tips callback' => 'htmltidy_filter_htmltidy_tips',
    'weight' => -10,
  );
  return $filters;
}