Skip to content

Kirby 5.1.4

$parsley->parseNode()

Parses the given DOM node and tries to convert it to a block or a list of blocks

$parsley->parseNode(DOMNode $element): bool

Parameters

Name Type Default
$elementrequired DOMNode no default value

Return type

bool

This method modifies the existing $parsley object it is applied to and returns it again.

Parent class

Kirby\Parsley\Parsley