class Theme
Defines a theme object.
Hierarchy
- class \Drupal\bootstrap\Theme
Expanded class hierarchy of Theme
Related topics
Namespace
Drupal\bootstrapMembers
Name | Modifiers | Type | Description |
---|---|---|---|
Theme:: |
protected | property | Flag indicating if the theme is Bootstrap based. |
Theme:: |
protected | property | A list of available CDN Provider instances. |
Theme:: |
protected | property | Flag indicating if the theme is in "development" mode. |
Theme:: |
protected | property | The current theme info. |
Theme:: |
protected | property | A URL for where a livereload instance is listening, if set. |
Theme:: |
protected | property | The theme machine name. |
Theme:: |
protected | property | An array of Setting instances. |
Theme:: |
protected | property | The current theme Extension object. |
Theme:: |
protected | property | Theme handler object. |
Theme:: |
protected | property | An array of installed themes. |
Theme:: |
protected | property | The update plugin manager. |
Theme:: |
public | function | Retrieves the theme's settings array appropriate for drupalSettings. |
Theme:: |
public | function | Wrapper for the core file_scan_directory() function. |
Theme:: |
public | function | Retrieves the full base/sub-theme ancestry of a theme. |
Theme:: |
public | function | Retrieves an individual item from a theme's cache in the database. |
Theme:: |
public | function | Retrieves the set CDN Provider instance for the theme. |
Theme:: |
public | function | Retrieves all available CDN Provider instances. |
Theme:: |
public | function | Retrieves the theme info. |
Theme:: |
public | function | Returns the machine name of the theme. |
Theme:: |
public | function | Returns the relative path of the theme. |
Theme:: |
public | function | Retrieves pending updates for the theme. |
Theme:: |
public | function | Retrieves the CDN Provider. |
Theme:: |
public | function | Retrieves all CDN Providers. |
Theme:: |
public | function | Retrieves a theme setting. |
Theme:: |
public | function | Retrieves a theme's setting plugin instance(s). |
Theme:: |
public | function | Retrieves the theme's setting plugin instances. |
Theme:: |
public | function | Retrieves the theme's cache from the database. |
Theme:: |
public | function | Retrieves the human-readable title of the theme. |
Theme:: |
public | function | Retrieves the update plugin manager for the theme. |
Theme:: |
public | function | Determines whether or not if the theme has Bootstrap Framework Glyphicons. |
Theme:: |
constant | Ignores the directories "assets", "css", "images" and "js". | |
Theme:: |
constant | Ignores the directories "config", "lib" and "src". | |
Theme:: |
constant | Ignores the following directories during file scans of a theme. | |
Theme:: |
constant | Ignores "bower_components", "grunt", "node_modules" and "starterkits". | |
Theme:: |
constant | Ignores the directories "docs" and "documentation". | |
Theme:: |
constant | Ignores the directories "templates" and "theme". | |
Theme:: |
public | function | Includes a file from the theme. |
Theme:: |
protected | function | Installs a Bootstrap based theme. |
Theme:: |
public | function | Indicates whether the theme is bootstrap based. |
Theme:: |
public | function | Indicates whether the theme is in "development mode". |
Theme:: |
public | function | Returns the livereload URL set, if any. |
Theme:: |
public | function | Removes a theme setting. |
Theme:: |
public | function | Sets a value for a theme setting. |
Theme:: |
public | function | Retrieves the theme settings instance. |
Theme:: |
public | function | Determines whether or not a theme is a sub-theme of another. |
Theme:: |
public | function | Theme constructor. |
Theme:: |
public | function | Serialization method. |
Theme:: |
public | function | Returns the theme machine name. |
Theme:: |
public | function | Unserialize method. |