Craft Themes (3.x)

SystemBlockProvider extends BlockProvider
in package

Provides default system 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 = [RyssbowhCraftThemesmodelslocksTemplateBlock::class, RyssbowhCraftThemesmodelslocksContentBlock::class, RyssbowhCraftThemesmodelslocksTwigBlock::class, RyssbowhCraftThemesmodelslocksEntryBlock::class, RyssbowhCraftThemesmodelslocksCategoryBlock::class, RyssbowhCraftThemesmodelslocksAssetBlock::class, RyssbowhCraftThemesmodelslocksUserBlock::class, RyssbowhCraftThemesmodelslocksCurrentUserBlock::class, RyssbowhCraftThemesmodelslocksGlobalBlock::class, RyssbowhCraftThemesmodelslocksSiteNameBlock::class, RyssbowhCraftThemesmodelslocksFlashMessagesBlock::class]
Tags
inheritDoc

Methods

fields()

public fields() : mixed
Tags
inheritDoc
Return values
mixed

getDefinedBlocks()

Get all defined blocks classes

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

Search results