interface ThemeList (View source)

Contains references to any number of themes or theme directories

Methods

array
getThemes()

Returns a map of all themes information. The map is in the following format:

Details

array getThemes()

Returns a map of all themes information. The map is in the following format:

[ '/mysite', 'vendor/module:themename', '/framework/admin' 'simple' ]

These may be in any format, including vendor/namespace:path, or /absolute-path, but will not include references to any other {see \SilverStripe\View\ThemeContainer} as SSViewer::get_themes() does.

Return Value

array