Xss::getHtmlTagList

public static 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

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

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

1
2
3
public static function getHtmlTagList() {
  return static::$htmlTags;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.