protected property SkeletonTest::$defaultTheme in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/testing_example/tests/src/Functional/SkeletonTest.php \Drupal\Tests\testing_example\Functional\SkeletonTest::defaultTheme
The theme to install as the default for testing.
When using the default testing install profile we need to specify which theme to use when running functional tests.
For tests that do not rely on any specific markup, or at least not Drupal core markup, use 'stark'. For tests that rely on core markup use 'stable'.
@link https://www.drupal.org/node/3083055
Type: string
Overrides BrowserTestBase::$defaultTheme
File
- testing_example/
tests/ src/ Functional/ SkeletonTest.php, line 70
Class
- SkeletonTest
- Skeleton functional test.
Namespace
Drupal\Tests\testing_example\FunctionalCode
protected $defaultTheme = 'stark';