Craft Themes (4.x)

RegionLayout extends Model
in package
implements RegionLayoutInterface

Class that holds the definitions of regions

Tags
since
5.0.0

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

$_regions

protected array<string|int, mixed> $_regions = []

Methods

fields()

public fields() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

getRegions()

Regions getter

public getRegions() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

setRegions()

Regions setter

public setRegions(array<string|int, mixed> $regions) : mixed
Parameters
$regions : array<string|int, mixed>
Tags
inheritDoc
Return values
mixed

Search results