function svg_embed_filter_svg_embed_tips in SVG Embed 7
Implements hook_filter_FILTER_tips().
1 string reference to 'svg_embed_filter_svg_embed_tips'
- svg_embed_filter_info in ./
svg_embed.module - Implements hook_filter_info().
File
- ./
svg_embed.module, line 105 - 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_svg_embed_tips($filter, $format, $long) {
if ($long) {
return t('To insert an SVG graphic include [svg:FID] into the text. The file should already be uploaded to your Drupal site and you should then replace FID with either the file id (if known) or with the filename.');
}
else {
return t('To insert an SVG graphic include [svg:FID] into the text.');
}
}