RegionLayout
extends Model
in package
implements
RegionLayoutInterface
Class that holds the definitions of regions
Tags
Interfaces, Classes and Traits
- RegionLayoutInterface
- Regions layouts are defined by themes, and are assigned to layouts. They define regions
Table of Contents
- $handle : string
- $name : string
- $theme : ThemeInterface
- $_regions : array<string|int, mixed>
- fields() : array<string|int, mixed>
- getRegions() : array<string|int, mixed>
- Regions getter
- setRegions() : mixed
- Regions setter
Properties
$handle
public
string
$handle
= ''
$name
public
string
$name
= ''
$theme
public
ThemeInterface
$theme
$_regions
protected
array<string|int, mixed>
$_regions
= []
Methods
fields()
public
fields() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getRegions()
Regions getter
public
getRegions() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setRegions()
Regions setter
public
setRegions(array<string|int, mixed> $regions) : mixed
Parameters
- $regions : array<string|int, mixed>