Skip to content

Kirby 6.0.1

$blocks->fallback()

Creates the fallback block type if no other block can be found

$blocks->fallback(Element|string $element): array|null

Parameters

Name Type Default
$elementrequired Kirby\Parsley\Elementorstring no default value

Return types

arrayornull

Parent class

Kirby\Parsley\Schema\Blocks