You are here

function customfilter_filter_tips in Custom filter 5

Same name and namespace in other branches
  1. 6.2 customfilter.module \customfilter_filter_tips()
  2. 6 customfilter.module \customfilter_filter_tips()

Implements hook_filter_tips().

File

./customfilter.module, line 36

Code

function customfilter_filter_tips($delta, $format, $long = FALSE) {
  $col = $long ? 'longtips' : 'shorttips';
  $tips = customfilter_get_set($delta, array(
    'sid',
    $col,
  ));
  return isset($tips[$col]) ? $tips[$col] : '';
}