You are here

public static function Xss::getHtmlTagList in Service Container 7.2

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

File

lib/Drupal/Component/Utility/Xss.php, line 349
Contains \Drupal\Component\Utility\Xss.

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

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