function Xss::getHtmlTagList
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getHtmlTagList()
- 10 core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getHtmlTagList()
- 11.x 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().
11 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.
File
-
core/
lib/ Drupal/ Component/ Utility/ Xss.php, line 360
Class
- Xss
- Provides helper to filter for cross-site scripting.
Namespace
Drupal\Component\UtilityCode
public static function getHtmlTagList() {
return static::$htmlTags;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.