You are here

public static function Xss::getAdminTagList in Drupal 9

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

5 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.
TextCustom::buildOptionsForm in core/modules/views/src/Plugin/views/area/TextCustom.php
Provide a form to edit options for this plugin.
TokenizeAreaPluginBase::tokenForm in core/modules/views/src/Plugin/views/area/TokenizeAreaPluginBase.php
Adds tokenization form elements.
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 350

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

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