Skip to content

Kirby 5.0.4

$layoutColumns->remove()

Removes an object

$layoutColumns->remove(string|Kirby\Cms\LayoutColumn $key): Kirby\Cms\LayoutColumns

Parameters

Name Type Default Description
$keyrequired stringorKirby\Cms\LayoutColumn no default value the name of the key

Return type

Kirby\Cms\LayoutColumns

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