Craft Themes (3.x)

ElementLayout

Common methods for layouts that are attached to elements (not customs or defaults layouts)

Table of Contents

$_fieldLayout  : FieldLayout
getCraftFields()  : array<string|int, mixed>
getFieldLayout()  : FieldLayout
Get layout's element field layout.
getTemplatingKey()  : string
hasDisplays()  : bool

Properties

Methods

getCraftFields()

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

getTemplatingKey()

public getTemplatingKey() : string
Tags
inheritDoc
Return values
string

hasDisplays()

public hasDisplays() : bool
Tags
inheritDoc
Return values
bool

Search results