src/Liip/Drupal/Modules/DrupalConnector/Filter.php
public function check_markup($text, $format_id = null, $langcode = '', $cache = FALSE)
    {
        return check_markup($text, $format_id, $langcode, $cache);
    }
public function check_markup($text, $format_id = null, $langcode = '', $cache = FALSE)
    {
        return check_markup($text, $format_id, $langcode, $cache);
    }
public function check_markup ( $ text , $ format_id = null , $ langcode = '' , $ cache = FALSE ) { return check_markup ( $ text , $ format_id , $ langcode , $ cache ) ; }
Run all the enabled filters on a piece of text.

Note: Because filters can inject JavaScript or execute PHP code, security is
vital here. When a user supplies a text format, you should validate it using
filter_access() before accepting/using it. This is normally done in the
validation stage of the Form API. You should for example never make a preview
of content in a disallowed format.

@param $text
The text to be filtered.
@param $format_id
The format id of the text to be filtered. If no format is assigned, the
fallback format will be used.
@param $langcode
Optional: the language code of the text to be filtered, e.g. 'en' for
English. This allows filters to be language aware so language specific
text replacement can be implemented.
@param $cache
Boolean whether to cache the filtered output in the {cache_filter} table.
The caller may set this to FALSE when the output is already cached
elsewhere to avoid duplicate cache lookups and storage.

@ingroup sanitization
Run all the enabled filters on a piece of text .