Skip to content

Kirby 4.2.0

$node->defaults()

Apply default values

$node->defaults(): Kirby\Blueprint\Node

Return type

Kirby\Blueprint\Node

This method does not modify the existing $node object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Blueprint\Node