Skip to content

Kirby 3.8.4

$node->set()

Universal setter for properties

$node->set(string $property, $value): Kirby\Blueprint\Node

Parameters

Name Type Default
$property * string
$value * mixed

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