function typogrify_filter_info in Typogrify 7
Implements hook_filter_info().
File
- ./
typogrify.module, line 15 - Typogrify: Brings typographical refinemnts to drupal
Code
function typogrify_filter_info() {
return array(
'typogrify' => array(
'title' => t('Typogrify'),
'description' => t('Adds typographic refinements.'),
'process callback' => '_typogrify_process',
'settings callback' => '_typogrify_settings',
'default settings' => array(
'smartypants_enabled' => 1,
'smartypants_hyphens' => 3,
'space_hyphens' => 0,
'wrap_ampersand' => 1,
'widont_enabled' => 1,
'space_to_nbsp' => 1,
'hyphenate_shy' => 0,
'wrap_abbr' => 0,
'wrap_caps' => 1,
'wrap_initial_quotes' => 1,
'wrap_numbers' => 0,
'ligatures' => array(),
'arrows' => array(),
'fractions' => array(),
'quotes' => array(),
),
'tips callback' => '_typogrify_filter_tips',
),
);
}