function ActiveTheme::getStyleSheetsRemove

Same name in other branches
  1. 8.9.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.