protected property SkeletonTest::$defaultTheme in Examples for Developers 3.x
Same name and namespace in other branches
- 8 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
- modules/
testing_example/ tests/ src/ Functional/ SkeletonTest.php, line 70
Class
- SkeletonTest
- Skeleton functional test.
Namespace
Drupal\Tests\testing_example\FunctionalCode
protected $defaultTheme = 'stark';