Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
common.inc
»
filter_xss
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
24 calls to filter_xss()
aggregator_filter_xss
in drupal/
modules/
aggregator/
aggregator.module
Renders the HTML content safely, as allowed.
CommentTokenReplaceTestCase::testCommentTokenReplacement
in drupal/
modules/
comment/
comment.test
Creates a comment, then tests the tokens generated from it.
comment_tokens
in drupal/
modules/
comment/
comment.tokens.inc
Implements
hook_tokens
().
CommonXssUnitTest::testInvalidMultiByte
in drupal/
modules/
simpletest/
tests/
common.test
Check that invalid multi-byte sequences are rejected.
DBLogTestCase::assertLogMessage
in drupal/
modules/
dblog/
dblog.test
Confirms that a log message appears on the database log overview screen.
DBLogTestCase::doUser
in drupal/
modules/
dblog/
dblog.test
Generates and then verifies some user events.
dblog_overview
in drupal/
modules/
dblog/
dblog.admin.inc
Page callback: Displays a listing of database log messages.
DrupalWebTestCase::assertTextHelper
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Helper for assertText and assertNoText.
DrupalWebTestCase::assertUniqueTextHelper
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Helper for assertUniqueText and assertNoUniqueText.
drupal_html_to_text
in drupal/
includes/
mail.inc
Transforms an HTML string into plain text, preserving its structure.
field_filter_xss
in drupal/
modules/
field/
field.module
Like
filter_xss_admin
(), but with a shorter list of allowed tags.
FilterUnitTestCase::testFilterXSS
in drupal/
modules/
filter/
filter.test
Tests limiting allowed tags and XSS prevention.
filter_xss_admin
in drupal/
includes/
common.inc
Applies a very permissive XSS/HTML filter for admin-only use.
FormAlterTestCase::testExecutionOrder
in drupal/
modules/
simpletest/
tests/
form.test
Tests execution order of
hook_form_alter
() and
hook_form_FORM_ID_alter
().
hook_tokens
in drupal/
modules/
system/
system.api.php
Provide replacement values for placeholder tokens.
locale_string_is_safe
in drupal/
includes/
locale.inc
Check that a string is safe to be added or imported as a translation.
node_revision_overview
in drupal/
modules/
node/
node.pages.inc
Generates an overview table of older revisions of a node.
PollTokenReplaceTestCase::testPollTokenReplacement
in drupal/
modules/
poll/
poll.test
Creates a poll, then tests the tokens generated from it.
poll_tokens
in drupal/
modules/
poll/
poll.tokens.inc
Implements
hook_tokens
().
TaxonomyTokenReplaceTestCase::testTaxonomyTokenReplacement
in drupal/
modules/
taxonomy/
taxonomy.test
Creates some terms and a node, then tests the tokens generated from them.
taxonomy_tokens
in drupal/
modules/
taxonomy/
taxonomy.tokens.inc
Implements
hook_tokens
().
theme_dblog_message
in drupal/
modules/
dblog/
dblog.admin.inc
Returns HTML for a log message.
TokenReplaceTestCase::testSystemDateTokenReplacement
in drupal/
modules/
system/
system.test
Tests the generation of all system date tokens.
_filter_html
in drupal/
modules/
filter/
filter.module
Implements
callback_filter_process
().