ThemeConfig
extends AbstractHelper
in package
Theme config view helper
Tags
Table of Contents
- $themeInfo : ThemeInfo
- ThemeInfo object to access themeConfig
- __construct() : mixed
- Constructor
- __invoke() : mixed|null
- Returns config by path
Properties
$themeInfo
ThemeInfo object to access themeConfig
protected
ThemeInfo
$themeInfo
Methods
__construct()
Constructor
public
__construct(ThemeInfo $themeInfo) : mixed
Parameters
- $themeInfo : ThemeInfo
-
ThemeInfo
Return values
mixed —__invoke()
Returns config by path
public
__invoke([string|array<string|int, string> $path = [] ]) : mixed|null
Examples:
- 'less' => all of less section
- ['less'] => same as above
- ['less', 'active'] => would return LESS active status
Parameters
- $path : string|array<string|int, string> = []
-
Path to return from theme.config.php