function _filter_autop_tips

Implements callback_filter_tips().

Provides help for the auto-paragraph filter.

See also

filter_filter_info()

Related topics

2 string references to '_filter_autop_tips'
filter_filter_info in drupal/modules/filter/filter.module
Implements hook_filter_info().
hook_filter_info in drupal/modules/filter/filter.api.php
Define content filters.

File

drupal/modules/filter/filter.module, line 1767
Framework for handling the filtering of content.

Code

function _filter_autop_tips($filter, $format, $long = FALSE) {
  if ($long) {
    return t('Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.');
  }
  else {
    return t('Lines and paragraphs break automatically.');
  }
}