function Xss::getAdminTagList
Same name in other branches
- 9 core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getAdminTagList()
- 10 core/lib/Drupal/Component/Utility/Xss.php \Drupal\Component\Utility\Xss::getAdminTagList()
- 11.x 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\UtilityCode
public static function getAdminTagList() {
return static::$adminTags;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.