Skip to content

Kirby 3.9.8

Node::polyfill()

Optional method that runs before static::factory sends its properties to the instance. This is perfect to clean up props or keep deprecated props compatible.

Node::polyfill(array $props): array

Parameters

Name Type Default
$props * array

Return type

array

Parent class

Kirby\Blueprint\Node