Craft Themes (4.x)

DisplayNeoType extends Model
in package

Class that handles a block type inside a neo field

Tags
since
4.1.0

Table of Contents

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

Properties

Methods

fields()

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

getConfig()

Get project config

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

getType()

Super table block type getter

public getType() : BlockType
Return values
BlockType

setType()

Super table block type setter

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

Search results