function styleguide_filter_tips in Style Guide 7
Return filter tips for display.
Parameters
$long: Boolean indicator of long format display.
Return value
Themed filter tips.
1 call to styleguide_filter_tips()
- filter_styleguide in modules/
filter.inc - Implements hook_styleguide().
File
- modules/
filter.inc, line 17 - Style Guide plugin file for the Filter module.
Code
function styleguide_filter_tips($long = TRUE) {
if ($long) {
module_load_include('module', 'filter', 'filter');
module_load_include('inc', 'filter', 'filter.pages');
return theme('filter_tips', array(
'tips' => _filter_tips(-1, TRUE),
'long' => $long,
));
}
else {
return filter_process_format(array(
'#base_type' => 'textarea',
'#parents' => array(),
'#value' => '',
));
}
}