Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getHtmlTagList()
  2. 9 core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getHtmlTagList()

Gets the standard list of HTML tags allowed by Xss::filter().

Return value

array The list of HTML tags allowed by Xss::filter().

4 calls to Xss::getHtmlTagList()
MenuController::menuTitle in core/modules/menu_ui/src/Controller/MenuController.php
Route title callback.
NodeController::revisionOverview in core/modules/node/src/Controller/NodeController.php
Generates an overview table of older revisions of a node.
TaxonomyController::termTitle in core/modules/taxonomy/src/Controller/TaxonomyController.php
Route title callback.
views_ui_preprocess_views_view in core/modules/views_ui/views_ui.module
Implements hook_preprocess_HOOK() for views templates.

File

core/lib/Drupal/Component/Utility/Xss.php, line 360

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

public static function getHtmlTagList() {
  return static::$htmlTags;
}