Design Interface
Definition at line 11 of file DesignInterface.php.
◆ getArea()
Retrieve package area
- Returns
- string
Implemented in Design.
◆ getConfigurationDesignTheme()
| getConfigurationDesignTheme |
( |
|
$area = null, |
|
|
array |
$params = [] |
|
) |
| |
Get default theme which declared in configuration
- Parameters
-
| string | null | $area | |
| array | $params | |
- Returns
- string
Implemented in Design.
◆ getDesignParams()
Get design settings for current request
- Returns
- array
Implemented in Design.
◆ getDesignTheme()
◆ getLocale()
Get locale
- Returns
- string
Implemented in Design.
◆ getThemePath()
Convert theme model into a theme path literal
- Parameters
-
| Design\ThemeInterface | $theme | |
- Returns
- string
◆ setArea()
Set package area
- Parameters
-
- Returns
- DesignInterface @TODO MAGETWO-31474: Remove deprecated method setArea
Implemented in Design.
◆ setDefaultDesignTheme()
| setDefaultDesignTheme |
( |
| ) |
|
◆ setDesignTheme()
| setDesignTheme |
( |
|
$theme, |
|
|
|
$area = null |
|
) |
| |
Set theme path
- Parameters
-
| Design\ThemeInterface | int | string | $theme | |
| string | null | $area | |
- Returns
- DesignInterface
Implemented in Design.
◆ DEFAULT_AREA
| const DEFAULT_AREA = 'frontend' |
◆ PUBLIC_THEME_DIR
| const PUBLIC_THEME_DIR = '_theme' |
◆ PUBLIC_VIEW_DIR
| const PUBLIC_VIEW_DIR = '_view' |
◆ XML_PATH_THEME_ID
| const XML_PATH_THEME_ID = 'design/theme/theme_id' |
The documentation for this interface was generated from the following file: