File
- drupal/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php, line 72
- Contains Drupal\system\Tests\Theme\EntityFilteringThemeTest.
Class
- EntityFilteringThemeTest
- Tests filtering for XSS in rendered entity templates in all themes.
Namespace
Drupal\system\Tests\Theme
Code
public static function getInfo() {
return array(
'name' => 'Entity filtering theme test',
'description' => 'Tests themed output for each entity type in all available themes to ensure entity labels are filtered for XSS.',
'group' => 'Theme',
);
}