You are here

protected static property EditorSecurityTest::$sampleContentSecured in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/editor/tests/src/Functional/EditorSecurityTest.php \Drupal\Tests\editor\Functional\EditorSecurityTest::sampleContentSecured
  2. 10 core/modules/editor/tests/src/Functional/EditorSecurityTest.php \Drupal\Tests\editor\Functional\EditorSecurityTest::sampleContentSecured

The secured sample content to use in most tests.

Type: string

File

core/modules/editor/tests/src/Functional/EditorSecurityTest.php, line 34

Class

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

Namespace

Drupal\Tests\editor\Functional

Code

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