You are here

function filter_tips_long in Drupal 7

Same name and namespace in other branches
  1. 4 modules/filter.module \filter_tips_long()
  2. 5 modules/filter/filter.module \filter_tips_long()
  3. 6 modules/filter/filter.pages.inc \filter_tips_long()

Page callback: Displays a page with long filter tips.

Return value

string An HTML-formatted string.

See also

filter_menu()

theme_filter_tips()

1 string reference to 'filter_tips_long'
filter_menu in modules/filter/filter.module
Implements hook_menu().

File

modules/filter/filter.pages.inc, line 17
User page callbacks for the Filter module.

Code

function filter_tips_long($format = NULL) {
  if (!empty($format)) {
    $output = theme('filter_tips', array(
      'tips' => _filter_tips($format->format, TRUE),
      'long' => TRUE,
    ));
  }
  else {
    $output = theme('filter_tips', array(
      'tips' => _filter_tips(-1, TRUE),
      'long' => TRUE,
    ));
  }
  return $output;
}