AddCssCommand::__construct

public AddCssCommand::__construct($styles) Constructs an AddCssCommand. Parameters string $styles: A string that contains the styles to be added to the page, including the wrapping <style> tag. File core/lib/Drupal/Core/Ajax/AddCssCommand.php, line 33 Class AddCssCommand An AJAX command for adding css to the page via ajax. Namespace Drupal\Core\Ajax Code public function __construct($styles) { $this->styles = $styles; }

ActiveTheme::__construct

public ActiveTheme::__construct(array $values) Constructs an ActiveTheme object. Parameters array $values: The properties of the object, keyed by the names. File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 91 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function __construct(array $values) { $values += [ 'path' => '', 'engine' => 'twig', 'owner' => 'twig', 'stylesheets_remove' => [],

AddCssCommand

An AJAX command for adding css to the page via ajax. This command is implemented by Drupal.AjaxCommands.prototype.add_css() defined in misc/ajax.js. Hierarchy class \Drupal\Core\Ajax\AddCssCommand implements CommandInterface See also misc/ajax.js Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/AddCssCommand.php, line 15 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description AddCssCommand::$styles protected property A

ActiveTheme::getRegions

public ActiveTheme::getRegions() The regions used by the theme. Return value string[] The list of region machine names supported by the theme. See also system_region_list() File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 205 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getRegions() { return array_keys($this->regions); }

ActiveTheme::getName

public ActiveTheme::getName() Returns the machine name of the theme. Return value string File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 123 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getName() { return $this->name; }

ActiveTheme::getStyleSheetsRemove

public ActiveTheme::getStyleSheetsRemove() Returns the removed stylesheets by the theme. Return value mixed Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 181 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getStyleSheetsRemove() { return $this->styleSheetsRemove; }

ActiveTheme::getPath

public ActiveTheme::getPath() Returns the path to the theme directory. Return value string File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 132 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getPath() { return $this->path; }

ActiveTheme::getOwner

public ActiveTheme::getOwner() Returns the path to the theme engine for root themes. Return value mixed See also \Drupal\Core\Extension\ThemeHandler::rebuildThemeData File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 152 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getOwner() { return $this->owner; }

ActiveTheme::getLibrariesOverride

public ActiveTheme::getLibrariesOverride() Returns the libraries or library assets overridden by the active theme. Return value array The list of libraries overrides. File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 215 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getLibrariesOverride() { return $this->librariesOverride; }

ActiveTheme::$styleSheetsRemove

The stylesheets which are set to be removed by the theme. Type: array File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 62 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $styleSheetsRemove;