You are here

protected static property EditorSecurityTest::$sampleContentSecured in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/editor/src/Tests/EditorSecurityTest.php \Drupal\editor\Tests\EditorSecurityTest::sampleContentSecured

The secured sample content to use in most tests.

Type: string

File

core/modules/editor/src/Tests/EditorSecurityTest.php, line 32
Contains \Drupal\editor\Tests\EditorSecurityTest.

Class

EditorSecurityTest
Tests XSS protection for content creators when using text editors.

Namespace

Drupal\editor\Tests

Code

protected static $sampleContentSecured = '<p>Hello, Dumbo Octopus!</p>alert(0)';