ThemeDirectories

Extends \VariableThemeDirectories Implements \ThemeDirectoriesInterface

Class ThemeDirectories

package

Default

Methods

BaseThemeDirectories constructor.

__construct(\ThemeDirectoryRootInterface $root) 
inherited

Named constructor of ThemeDirectories.

create(\ThemeDirectoryRootInterface $root) : \ThemeDirectoriesInterface
static

Arguments

$root

\ThemeDirectoryRootInterface

Path to root directory of theme.

Response

\ThemeDirectoriesInterface

New instance.

Returns the config theme directory.

getConfig() : \ThemeDirectoryInterface
inherited

Return the custom HTML directory

getCustomHtml() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

Return the custom scripts directory

getCustomJs() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

Return the custom styles directory

getCustomStyles() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

Returns the fonts directory.

getFonts() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

Returns the html theme directory.

getHtml() : \ThemeDirectoryInterface
inherited

Returns the images directory.

getImages() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

Returns the js theme directory.

getJs() : \ThemeDirectoryInterface
inherited

Returns the script extension directory

getJsExtensions() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

getPrefix

getPrefix() : string
inherited

Response

string

Returns the directory root.

getRoot() : \ThemeDirectoryRootInterface
inherited

Returns the style edit theme directory.

getStyleEdit() : \ThemeDirectory|null
inherited

Response

\ThemeDirectory|null

Returns the styles theme directory.

getStyles() : \ThemeDirectoryInterface
inherited

Returns the variants directory

getVariants() : \ThemeDirectory
inherited

Response

\ThemeDirectory

Properties