mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-05 09:11:25 +02:00
Namespace all templates Move difflib and BBCodeParser2 to thirdparty Remove deprecated API marked for removal in 4.0
30 lines
616 B
PHP
30 lines
616 B
PHP
<?php
|
|
|
|
namespace SilverStripe\View;
|
|
|
|
/**
|
|
* Contains references to any number of themes or theme directories
|
|
*/
|
|
interface ThemeList
|
|
{
|
|
/**
|
|
* Returns a map of all themes information. The map is in the following format:
|
|
*
|
|
* <code>
|
|
* [
|
|
* '/mysite',
|
|
* 'vendor/module:themename',
|
|
* '/framework/admin'
|
|
* 'simple'
|
|
* ]
|
|
* </code>
|
|
*
|
|
* These may be in any format, including vendor/namespace:path, or /absolute-path,
|
|
* but will not include references to any other {@see ThemeContainer} as
|
|
* SSViewer::get_themes() does.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getThemes();
|
|
}
|