function filter_styleguide in Style Guide 7
Implements hook_styleguide().
File
- modules/
filter.inc, line 31 - Style Guide plugin file for the Filter module.
Code
function filter_styleguide() {
$items = array();
// Show the form version.
$items['filter_tips'] = array(
'title' => t('Filter tips, short'),
'content' => styleguide_filter_tips(FALSE),
'group' => t('System'),
);
// Show the long version.
$items['filter_tips_long'] = array(
'title' => t('Filter tips, long'),
'content' => styleguide_filter_tips(TRUE),
'group' => t('System'),
);
return $items;
}