W3cubDocs

/Drupal 8

public static function Xss::getAdminTagList

public static Xss::getAdminTagList()

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

Return value

array The list of HTML tags allowed by filterAdmin().

File

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

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

public static function getAdminTagList() {
  return static::$adminTags;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Xss.php/function/Xss::getAdminTagList/8.1.x