AddCssCommand::$styles

A string that contains the styles to be added to the page. It should include the wrapping style tag. Type: string File core/lib/Drupal/Core/Ajax/AddCssCommand.php, line 24 Class AddCssCommand An AJAX command for adding css to the page via ajax. Namespace Drupal\Core\Ajax Code protected $styles;

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::__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' => [],

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::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::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::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::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::getLibrariesExtend

public ActiveTheme::getLibrariesExtend() Returns the libraries extended by the active theme. Return value array The list of libraries-extend definitions. File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 225 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getLibrariesExtend() { return $this->librariesExtend; }