You are here

public static function Xss::getAdminTagList in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getAdminTagList()

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

Return value

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

3 calls to Xss::getAdminTagList()
FieldPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Default options form that provides the label widget that all fields should have.
Renderer::ensureMarkupIsSafe in core/lib/Drupal/Core/Render/Renderer.php
Escapes #plain_text or filters #markup as required.
ViewsSelection::stripAdminAndAnchorTagsFromResults in core/modules/views/src/Plugin/EntityReferenceSelection/ViewsSelection.php
Strips all admin and anchor tags from a result list.

File

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

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

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