Standard filters

  1. drupal
    1. 6 modules/filter/filter.module
    2. 7 modules/filter/filter.module
    3. 8 core/modules/filter/filter.module

Filters implemented by the filter.module.

Functions & methods

NameDescription
filter_filter_infoImplements hook_filter_info().
_filter_autopConvert line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop
_filter_autop_tipsFilter tips callback for auto-paragraph filter.
_filter_htmlHTML filter. Provides filtering of input into accepted HTML.
_filter_htmlcorrectorScan input and make sure that all HTML tags are properly closed and nested.
_filter_html_escapeEscapes all HTML tags, so they will be visible instead of being effective.
_filter_html_escape_tipsFilter tips callback for HTML escaping filter.
_filter_html_settingsSettings callback for the HTML filter.
_filter_html_tipsFilter tips callback for HTML filter.
_filter_urlURL filter. Automatically converts text into hyperlinks.
_filter_url_escape_commentspreg_replace callback to escape contents of HTML comments
_filter_url_parse_email_linkspreg_replace callback to make links out of e-mail addresses.
_filter_url_parse_full_linkspreg_replace callback to make links out of absolute URLs.
_filter_url_parse_partial_linkspreg_replace callback to make links out of domain names starting with "www."
_filter_url_settingsSettings callback for URL filter.
_filter_url_tipsFilter tips callback for URL filter.
_filter_url_trimShortens long URLs to http://www.example.com/long/url...

File

modules/filter/filter.module, line 1156
Framework for handling filtering of content.

Login or register to post comments