Skip to content

Kirby 6.0.1

$layoutField->pasteBlocks()

Paste action for blocks: - generates new uuids for the blocks - filters only supported fieldsets

$layoutField->pasteBlocks(array $blocks): list

Parameters

Name Type Default
$blocksrequired array no default value

Return type

list<array>

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\Field\BlocksField