$layoutColumns->add()
Adds a single object or an entire second collection to the current collection
$layoutColumns->add(Kirby\Cms\Collection|array|Kirby\Cms\LayoutColumn $object): Kirby\Cms\LayoutColumns
Parameters
| Name | Type | Default |
|---|---|---|
| $objectrequired | Kirby\Cms\Collection<TValue>orarray<TValue>orKirby\Cms\LayoutColumn |
no default value |
Return type
This method modifies the existing $layoutcolumns object it is applied to and returns it again.
Parent class
Kirby\Cms\LayoutColumns
inherited from Kirby\Cms\Collection