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 modules/filter/filter.module
Implements hook_filter_info().
hook_filter_info in modules/filter/filter.api.php
Define content filters.

File

modules/filter/filter.module, line 1769

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.');
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.