_filter_url_parse_partial_links

_filter_url_parse_partial_links($match) Makes links out of domain names starting with "www." Callback for preg_replace_callback() within _filter_url(). Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 622 Framework for handling the filtering of content. Code function _filter_url_parse_partial_links($match) { // The $i:th parenthesis in the regexp contains the URL. $i = 1; $match[$i] = Html::decodeEntities($match[$i

_filter_url_parse_full_links

_filter_url_parse_full_links($match) Makes links out of absolute URLs. Callback for preg_replace_callback() within _filter_url(). Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 592 Framework for handling the filtering of content. Code function _filter_url_parse_full_links($match) { // The $i:th parenthesis in the regexp contains the URL. $i = 1; $match[$i] = Html::decodeEntities($match[$i]); $caption = Html::es

_filter_url_parse_email_links

_filter_url_parse_email_links($match) Makes links out of email addresses. Callback for preg_replace_callback() within _filter_url(). Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 607 Framework for handling the filtering of content. Code function _filter_url_parse_email_links($match) { // The $i:th parenthesis in the regexp contains the URL. $i = 0; $match[$i] = Html::decodeEntities($match[$i]); $caption = Html

_filter_url_escape_comments

_filter_url_escape_comments($match, $escape = NULL) Escapes the contents of HTML comments. Callback for preg_replace_callback() within _filter_url(). Parameters array $match: An array containing matches to replace from preg_replace_callback(), whereas $match[1] is expected to contain the content to be filtered. bool|null $escape: (optional) A Boolean indicating whether to escape (TRUE) or unescape comments (FALSE). Defaults to NULL, indicating neither. If TRUE, statically cached $comments are

_filter_url

_filter_url($text, $filter) Converts text into hyperlinks automatically. This filter identifies and makes clickable three types of "links". URLs like http://example.com. Email addresses like name@example.com. Web addresses without the "http://" protocol defined, like www.example.com. Each type must be processed separately, as there is no one regular expression that could possibly match all of the cases in one pass. Related topics Standard filters Filters implemented by the Filter module. Fi

_filter_tips

_filter_tips($format_id, $long = FALSE) Retrieves the filter tips. Parameters string $format_id: The ID of the text format for which to retrieve tips, or -1 to return tips for all formats accessible to the current user. bool $long: (optional) Boolean indicating whether the long form of tips should be returned. Defaults to FALSE. Return value array An associative array of filtering tips, keyed by filter name. Each filtering tip is an associative array with elements: tip: Tip text. id: Filter

_filter_html_image_secure_process

_filter_html_image_secure_process($text) Process callback for local image filter. Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 765 Framework for handling the filtering of content. Code function _filter_html_image_secure_process($text) { // Find the path (e.g. '/') to Drupal root. $base_path = base_path(); $base_path_length = Unicode::strlen($base_path); // Find the directory on the server where index.php resi

_filter_html_escape

_filter_html_escape($text) Escapes all HTML tags, so they will be visible instead of being effective. Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 758 Framework for handling the filtering of content. Code function _filter_html_escape($text) { return trim(Html::escape($text)); }

_filter_autop

_filter_autop($text) Converts line breaks into <p> and <br> in an intelligent fashion. Based on: http://photomatt.net/scripts/autop Related topics Standard filters Filters implemented by the Filter module. File core/modules/filter/filter.module, line 693 Framework for handling the filtering of content. Code function _filter_autop($text) { // All block level tags $block = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|option|form|ma

_field_multiple_value_form_sort_helper

_field_multiple_value_form_sort_helper($a, $b) Callback for usort() within template_preprocess_field_multiple_value_form(). Sorts using ['_weight']['#value'] File core/includes/theme.inc, line 1706 The theme system, which controls the output of Drupal. Code function _field_multiple_value_form_sort_helper($a, $b) { $a_weight = (is_array($a) && isset($a['_weight']['#value']) ? $a['_weight']['#value'] : 0); $b_weight = (is_array($b) && isset($b['_weight']['#value']) ? $b['_we