$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 |
---|---|---|
$elementrequired | Kirby\Parsley\Element orstring |
no default value |
Return types
array
ornull
This method modifies the existing $plain
object it is applied to and returns it again.