Craft Themes (4.x)

FormsBlockProvider extends BlockProvider
in package

Provides forms blocks

Table of Contents

$_allDefinedBlocks  : array<string|int, string>
block classes defined by this provider, indexed by blocks handles
$_definedBlocks  : array<string|int, string>
block classes defined by this provider
createBlock()  : BlockInterface
Get a block instance
fields()  : array<string|int, mixed>
getBlocks()  : array<string|int, BlockInterface>
Get all defined blocks as objects
getDefinedBlocks()  : array<string|int, string>
Get all defined blocks classes
getHandle()  : string
getName()  : string

Properties

$_allDefinedBlocks

block classes defined by this provider, indexed by blocks handles

protected array<string|int, string> $_allDefinedBlocks

$_definedBlocks

block classes defined by this provider

protected array<string|int, string> $_definedBlocks = [RyssbowhCraftThemesmodelslocksLoginFormBlock::class, RyssbowhCraftThemesmodelslocksRegisterFormBlock::class, RyssbowhCraftThemesmodelslocksProfileFormBlock::class, RyssbowhCraftThemesmodelslocksResetPasswordFormBlock::class, RyssbowhCraftThemesmodelslocksSetPasswordFormBlock::class, RyssbowhCraftThemesmodelslocksSearchFormBlock::class]
Tags
inheritDoc

Methods

fields()

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

getDefinedBlocks()

Get all defined blocks classes

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

getHandle()

public getHandle() : string
Tags
inheritDoc
Return values
string

Search results