CsrfRequestHeaderTest::$modules

Type: modules

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\Functional

Code

protected static $modules = [
  'system',
  'csrf_test',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.