You are here

public function ActiveTheme::getStyleSheetsRemove in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getStyleSheetsRemove()

Returns the removed stylesheets by the theme.

This method is used as a BC layer to access the contents of the deprecated stylesheets-remove key in theme info.yml files. It will be removed once it is no longer needed in Drupal 10.

@todo Remove in Drupal 10.0.x.

@internal

Return value

mixed The removed stylesheets.

See also

https://www.drupal.org/node/2497313

File

core/lib/Drupal/Core/Theme/ActiveTheme.php, line 207

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

public function getStyleSheetsRemove() {
  return $this->styleSheetsRemove;
}