protected property EntityFilteringThemeTest::$xssLabel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php \Drupal\system\Tests\Theme\EntityFilteringThemeTest::xssLabel
A string containing markup and JS.
@string
File
- core/
modules/ system/ src/ Tests/ Theme/ EntityFilteringThemeTest.php, line 79 - Contains \Drupal\system\Tests\Theme\EntityFilteringThemeTest.
Class
- EntityFilteringThemeTest
- Tests themed output for each entity type in all available themes to ensure entity labels are filtered for XSS.
Namespace
Drupal\system\Tests\ThemeCode
protected $xssLabel = "string with <em>HTML</em> and <script>alert('JS');</script>";