SheaDawson\Blocks\Extensions\BlocksSiteTreeExtension::getBlockList
Get a merged list of all blocks on this page and ones inherited from BlockSets.
Signature
public function getBlockList([string|null
$area = NULL,
[boolean
$includeDisabled = false]] )
Parameters
$area
—
object
- filter by block area
$includeDisabled
—
boolean
- Include blocks that have been explicitly excluded from this page
i.e. blocks from block sets added to the "disable inherited blocks" list
Returns
- ArrayList