ThemeSettingsInterface
in
Interface ThemeSettingsInterface
Represents a theme.json
Table of Contents
- createFromJsonObject() : ThemeSettingsInterface
- id() : string
- id matches directory name
- isActive() : bool
- path() : string
- setActive() : void
Methods
createFromJsonObject()
public
static createFromJsonObject(stdClass $json, string $path) : ThemeSettingsInterface
Parameters
- $json : stdClass
- $path : string
Return values
ThemeSettingsInterface —id()
id matches directory name
public
id() : string
Return values
string —isActive()
public
isActive() : bool
Return values
bool —path()
public
path() : string
Return values
string —setActive()
public
setActive(bool $isActive) : void
Parameters
- $isActive : bool