Skip to content

Kirby 4.2.0

$plain->fallback()

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

$plain->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\Plain