SilverStripe\Subsites\Service\ThemeResolver
Synopsis
class ThemeResolver
{
- // members
- private static $theme_options;
- // methods
- public array getThemeList()
- public null|array getCustomThemeOptions()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
- SilverStripe\Core\Config\Configurable
Members
private
- $theme_options
—
array
Cascading definitions for themes, keyed by the name they should appear under in the CMS. For example:
Methods
public
- getCustomThemeOptions() — Get a list of custom cascading theme definitions if available
- getThemeList() — Get the list of themes for the given sub site that can be given to SSViewer::set_themes