ThemeServiceInterface
in
Class ThemeServiceInterface
Table of Contents
- activateTheme() : mixed
- Activates a theme for the shop.
- buildTemporaryTheme() : void
- build a temporary theme.
- getAvailableThemes() : ThemeNameCollection
- Get Available themes.
- storeThemeContent() : mixed
- Stores the theme contents.
Methods
activateTheme()
Activates a theme for the shop.
public
activateTheme(string $themeName) : mixed
Parameters
- $themeName : string
Tags
Return values
mixed —buildTemporaryTheme()
build a temporary theme.
public
buildTemporaryTheme(ThemeId $themeId, ThemeSettingsInterface $settings) : void
Parameters
- $themeId : ThemeId
- $settings : ThemeSettingsInterface
Return values
void —getAvailableThemes()
Get Available themes.
public
getAvailableThemes(ThemeDirectoryRootInterface $source) : ThemeNameCollection
Parameters
- $source : ThemeDirectoryRootInterface
Return values
ThemeNameCollection —storeThemeContent()
Stores the theme contents.
public
storeThemeContent(ThemeId $themeId, ThemeContents $themeContents) : mixed
Parameters
- $themeId : ThemeId
- $themeContents : ThemeContents