Skip to content

Kirby 4.2.0

$schema->fallback()

Returns the fallback block when no other block type can be detected

$schema->fallback(Kirby\Parsley\Element|string $element): array|null

Parameters

Name Type Default
$element * Kirby\Parsley\Element|string

Return type

array|null

Parent class

Kirby\Parsley\Schema