protected property CsrfRequestHeaderTest::$defaultTheme in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php \Drupal\Tests\system\Functional\CsrfRequestHeaderTest::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/ system/ tests/ src/ Functional/ CsrfRequestHeaderTest.php, line 25
Class
- CsrfRequestHeaderTest
- Tests protecting routes by requiring CSRF token in the request header.
Namespace
Drupal\Tests\system\FunctionalCode
protected $defaultTheme = 'stark';