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() : 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
Methods
createBlock()
Get a block instance
public
createBlock(string $handle) : BlockInterface
Parameters
- $handle : string
Tags
Return values
BlockInterface —fields()
public
fields() : mixed
Tags
Return values
mixed —getBlocks()
Get all defined blocks as objects
public
getBlocks() : array<string|int, BlockInterface>
Tags
Return values
array<string|int, BlockInterface> —getDefinedBlocks()
Get all defined blocks classes
public
getDefinedBlocks() : array<string|int, string>
Tags
Return values
array<string|int, string> —getHandle()
public
getHandle() : string
Tags
Return values
string —getName()
public
getName() : string