You are here

protected property HookRequirementsTest::$defaultTheme in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php \Drupal\Tests\system\Functional\Module\HookRequirementsTest::defaultTheme
  2. 9 core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php \Drupal\Tests\system\Functional\Module\HookRequirementsTest::defaultTheme

The theme to install as the default for testing.

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

Type: string

Overrides BrowserTestBase::$defaultTheme

File

core/modules/system/tests/src/Functional/Module/HookRequirementsTest.php, line 15

Class

HookRequirementsTest
Attempts enabling a module that fails hook_requirements('install').

Namespace

Drupal\Tests\system\Functional\Module

Code

protected $defaultTheme = 'stark';