You are here

public static function Xss::getHtmlTagList in Drupal 9

Same name and namespace in other branches
  1. 8 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().

9 calls to Xss::getHtmlTagList()
AggregatorController::feedTitle in core/modules/aggregator/src/Controller/AggregatorController.php
Route title callback.
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.
Page::execute in core/modules/views/src/Plugin/views/display/Page.php
Executes the view and returns data in the format required.
TaxonomyController::termTitle in core/modules/taxonomy/src/Controller/TaxonomyController.php
Route title callback.

... See full list

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;
}