You are here

protected property NodeTitleXSSTest::$defaultTheme in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/tests/src/Functional/NodeTitleXSSTest.php \Drupal\Tests\node\Functional\NodeTitleXSSTest::defaultTheme

The theme to install as the default for testing.

Defaults to the install profile's default theme, if it specifies any.

Type: string

Overrides BrowserTestBase::$defaultTheme

File

core/modules/node/tests/src/Functional/NodeTitleXSSTest.php, line 18

Class

NodeTitleXSSTest
Create a node with dangerous tags in its title and test that they are escaped.

Namespace

Drupal\Tests\node\Functional

Code

protected $defaultTheme = 'stark';