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. 11.x 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 130

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.