Skip to content

Kirby 5.1.2

$blocks->list()

Converts a list element to HTML

$blocks->list(Kirby\Parsley\Element $node): string

Parameters

Name Type Default
$noderequired Kirby\Parsley\Element no default value

Return type

string

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

Parent class

Kirby\Parsley\Schema\Blocks