$layoutColumns->remove()
Removes an object
$layoutColumns->remove(string|Kirby\Cms\LayoutColumn $key): Kirby\Cms\LayoutColumns
Parameters
Name | Type | Default | Description |
---|---|---|---|
$keyrequired | string orKirby\Cms\LayoutColumn |
no default value | the name of the key |
Return type
This method does not modify the existing $layoutcolumns
object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\LayoutColumns
inherited from Kirby\Cms\Collection