Craft Themes (3.x)

DisplayMatrixType extends Model
in package

Class that handles a block type inside a matrix

Table of Contents

$fields  : array<string|int, mixed>
$type_id  : int
The matrix block type id
$_type  : MatrixBlockType
fields()  : mixed
getConfig()  : array<string|int, mixed>
Get project config
getFieldById()  : FieldInterface|null
Find a field by craft field id
getType()  : MatrixBlockType
Matrix block type getter
setType()  : mixed
Matrix block type getter

Properties

Methods

getConfig()

Get project config

public getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

getType()

Matrix block type getter

public getType() : MatrixBlockType
Return values
MatrixBlockType

setType()

Matrix block type getter

public setType(MatrixBlockType $type) : mixed
Parameters
$type : MatrixBlockType
Return values
mixed

Search results