function svg_embed_filter_info in SVG Embed 7
Implements hook_filter_info().
Return value
array filters to add
File
- ./
svg_embed.module, line 15 - SVG Embed. Provides a filter for text formats that includes and on the fly translates SVG files into text fields.
Code
function svg_embed_filter_info() {
$filters['filter_svg_embed'] = array(
'title' => t('SVG Embed Filter'),
'description' => t('Embed SVG files into content and translate them on the fly.'),
'process callback' => 'svg_embed_filter_svg_embed_process',
'tips callback' => 'svg_embed_filter_svg_embed_tips',
'cache' => FALSE,
);
return $filters;
}