Skip to content

Kirby 6.0.0

$areas->extend()

Adds all elements to a cloned collection

$areas->extend(mixed $items): Areas

Parameters

Name Type Default
$itemsrequired mixed no default value

Return type

Kirby\Panel\Areas

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

Parent class

Kirby\Panel\Areas inherited from Kirby\Toolkit\Collection