Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
common.inc
»
filter_xss
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
23 calls to filter_xss()
aggregator_filter_xss
in drupal/
core/
modules/
aggregator/
aggregator.module
Renders the HTML content safely, as allowed.
AlterTest::testExecutionOrder
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
AlterTest.php
Tests execution order of
hook_form_alter
() and
hook_form_FORM_ID_alter
().
CommentTokenReplaceTest::testCommentTokenReplacement
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
comment_tokens
in drupal/
core/
modules/
comment/
comment.tokens.inc
Implements
hook_tokens
().
DbLogController::overview
in drupal/
core/
modules/
dblog/
lib/
Drupal/
dblog/
Controller/
DbLogController.php
Displays a listing of database log messages.
DbLogTest::assertLogMessage
in drupal/
core/
modules/
dblog/
lib/
Drupal/
dblog/
Tests/
DbLogTest.php
Confirms that a log message appears on the database log overview screen.
DbLogTest::doUser
in drupal/
core/
modules/
dblog/
lib/
Drupal/
dblog/
Tests/
DbLogTest.php
Generates and then verifies some user events.
drupal_html_to_text
in drupal/
core/
includes/
mail.inc
Transforms an HTML string into plain text, preserving its structure.
FieldUnitTestBase::assertNoText
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldUnitTestBase.php
Pass if the text IS NOT found in set string.
FieldUnitTestBase::assertText
in drupal/
core/
modules/
field/
lib/
Drupal/
field/
Tests/
FieldUnitTestBase.php
Pass if the text IS found in set string.
field_filter_xss
in drupal/
core/
modules/
field/
field.module
Filters an HTML string to prevent cross-site-scripting (XSS) vulnerabilities.
format_backtrace
in drupal/
core/
includes/
errors.inc
Formats a backtrace into a plain-text string.
HandlerBase::sanitizeValue
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Plugin/
views/
HandlerBase.php
Sanitize the value for output.
hook_tokens
in drupal/
core/
modules/
system/
system.api.php
Provide replacement values for placeholder tokens.
locale_string_is_safe
in drupal/
core/
modules/
locale/
locale.module
Check that a string is safe to be added or imported as a translation.
node_revision_overview
in drupal/
core/
modules/
node/
node.pages.inc
Page callback: Generates an overview table of older revisions of a node.
RowEntityTest::assertText
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Plugin/
RowEntityTest.php
Pass if the text is found in set string.
taxonomy_tokens
in drupal/
core/
modules/
taxonomy/
taxonomy.tokens.inc
Implements
hook_tokens
().
TokenReplaceTest::testSystemDateTokenReplacement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
TokenReplaceTest.php
Tests the generation of all system date tokens.
TokenReplaceTest::testTaxonomyTokenReplacement
in drupal/
core/
modules/
taxonomy/
lib/
Drupal/
taxonomy/
Tests/
TokenReplaceTest.php
Creates some terms and a node, then tests the tokens generated from them.
WebTestBase::assertTextHelper
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Helper for assertText and assertNoText.
WebTestBase::assertUniqueTextHelper
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Helper for assertUniqueText and assertNoUniqueText.
_filter_html
in drupal/
core/
modules/
filter/
filter.module
Provides filtering of input into accepted HTML.