// Prepare stylesheets from this theme as well as all ancestor themes.
@@ -330,6 +336,7 @@ protected function prepareStylesheetsRemove(Extension $theme, $base_themes) {
// Grab stylesheets from base theme.
foreach($base_themesas$base){
if(!empty($base->info['stylesheets-remove'])){
@trigger_error('The theme info key stylesheets-remove implemented by theme '.$base->getName().' is deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/2497313',E_USER_DEPRECATED);
@@ -339,6 +346,7 @@ protected function prepareStylesheetsRemove(Extension $theme, $base_themes) {
// Add stylesheets used by this theme.
if(!empty($theme->info['stylesheets-remove'])){
@trigger_error('The theme info key stylesheets-remove implemented by theme '.$theme->getName().' is deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/2497313',E_USER_DEPRECATED);
* @expectedDeprecation The theme info key stylesheets-remove implemented by theme test_legacy_stylesheets_remove is deprecated in drupal:8.0.0 and is removed from drupal:10.0.0. See https://www.drupal.org/node/2497313