Skip to content
Snippets Groups Projects
Commit 2fe3b82a authored by catch's avatar catch
Browse files

Issue #3095598 by oknate: defaultTheme deprecation warning should link to change record

parent 528ab050
No related branches found
No related tags found
6 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards
...@@ -427,7 +427,7 @@ protected function installDefaultThemeFromClassProperty(ContainerInterface $cont ...@@ -427,7 +427,7 @@ protected function installDefaultThemeFromClassProperty(ContainerInterface $cont
// For backwards compatibility, tests using the 'testing' install profile // For backwards compatibility, tests using the 'testing' install profile
// on Drupal 8 automatically get 'classy' set, and other profiles use // on Drupal 8 automatically get 'classy' set, and other profiles use
// 'stark'. // 'stark'.
@trigger_error('Drupal\Tests\BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/2352949, which includes recommendations on which theme to use.', E_USER_DEPRECATED); @trigger_error('Drupal\Tests\BrowserTestBase::$defaultTheme is required in drupal:9.0.0 when using an install profile that does not set a default theme. See https://www.drupal.org/node/3083055, which includes recommendations on which theme to use.', E_USER_DEPRECATED);
$this->defaultTheme = $profile === 'testing' ? 'classy' : 'stark'; $this->defaultTheme = $profile === 'testing' ? 'classy' : 'stark';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment