$parsley->fallback()
Creates a fallback block type for the given element. The element can either be a element object or a simple HTML/plain text string
$parsley->fallback(Kirby\Parsley\Element|string $element): array|null
Parameters
Name | Type | Default |
---|---|---|
$element * | Kirby\Parsley\Element |string |
– |
Return type
array
|null