function StandardRecipeInstallTest::installDefaultThemeFromClassProperty
Installs the default theme defined by `static::$defaultTheme` when needed.
To install a test theme outside of the testing environment, add
$settings['extension_discovery_scan_tests'] = TRUE;
to your settings.php.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.
Overrides FunctionalTestSetupTrait::installDefaultThemeFromClassProperty
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ StandardRecipeInstallTest.php, line 101
Class
- StandardRecipeInstallTest
- Tests installing the Standard recipe via the installer.
Namespace
Drupal\FunctionalTests\Core\RecipeCode
protected function installDefaultThemeFromClassProperty(ContainerInterface $container) : void {
// In this context a default theme makes no sense.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.