BrowserTestBase::$defaultTheme

Same name in other branches
  1. 9 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::defaultTheme
  2. 8.9.x core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::defaultTheme
  3. 10 core/tests/Drupal/Tests/BrowserTestBase.php \Drupal\Tests\BrowserTestBase::defaultTheme

The theme to install as the default for testing.

Defaults to the install profile's default theme, if it specifies any.

Type: string

File

core/tests/Drupal/Tests/BrowserTestBase.php, line 127

Class

BrowserTestBase
Provides a test case for functional Drupal tests.

Namespace

Drupal\Tests

Code

protected $defaultTheme;

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