protected static property CookieTest::$modules in Style Switcher 3.0.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/CookieTest.php \Drupal\Tests\styleswitcher\Functional\CookieTest::modules
Modules to enable.
The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.
Type: string[]
Overrides BrowserTestBase::$modules
See also
\Drupal\Tests\BrowserTestBase::installDrupal()
File
- tests/
src/ Functional/ CookieTest.php, line 22
Class
- CookieTest
- Tests Style Switcher cookies.
Namespace
Drupal\Tests\styleswitcher\FunctionalCode
protected static $modules = [
'styleswitcher',
'styleswitcher_test_theme_per_page',
'block',
'dynamic_page_cache',
'page_cache',
];