function pathologic_filter_info in Pathologic 7.3
Same name and namespace in other branches
- 7 pathologic.module \pathologic_filter_info()
- 7.2 pathologic.module \pathologic_filter_info()
Implements hook_filter_info().
File
- ./
pathologic.module, line 31 - Pathologic text filter for Drupal.
Code
function pathologic_filter_info() {
return array(
'pathologic' => array(
'title' => t('Correct URLs with Pathologic'),
'process callback' => '_pathologic_filter',
'settings callback' => '_pathologic_settings',
'default settings' => array(
'settings_source' => 'global',
'local_paths' => '',
'protocol_style' => 'full',
),
// Set weight to 50 so that it will hopefully appear at the bottom of
// filter lists by default. 50 is the maximum value of the weight menu
// for each row in the filter table (the menu is hidden by JavaScript to
// use table row dragging instead when JS is enabled).
'weight' => 50,
),
);
}