class PublicThemes implements ThemeList (View source)

Methods

public
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 {\SilverStripe\View\ThemeContainer} as SSViewer::get_themes() does.

Return Value

array