// Prepare stylesheets from this theme as well as all ancestor themes.
// We work it this way so that we can have child themes remove CSS files
// easily from parent.
$stylesheets_remove=[];
// 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);
@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);
$this->expectDeprecation('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');