CsrfRequestHeaderTest::$modules
Same name in other branches
- 8.9.x core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php \Drupal\Tests\system\Functional\CsrfRequestHeaderTest::modules
- 10 core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php \Drupal\Tests\system\Functional\CsrfRequestHeaderTest::modules
- 11.x core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php \Drupal\Tests\system\Functional\CsrfRequestHeaderTest::modules
Modules to enable.
Type: array
Overrides BrowserTestBase::$modules
File
-
core/
modules/ system/ tests/ src/ Functional/ CsrfRequestHeaderTest.php, line 20
Class
- CsrfRequestHeaderTest
- Tests protecting routes by requiring CSRF token in the request header.
Namespace
Drupal\Tests\system\FunctionalCode
protected static $modules = [
'system',
'csrf_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.