$blocks->heading()
Converts a heading element to a heading block
$blocks->heading(Kirby\Parsley\Element $node): array
Parameters
Name | Type | Default |
---|---|---|
$noderequired | Kirby\Parsley\Element |
no default value |
Return type
array
This method modifies the existing $blocks
object it is applied to and returns it again.