$layoutColumns->has()
Checks if the given object or id is in the collection
$layoutColumns->has(string|Kirby\Cms\LayoutColumn $key): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $keyrequired | stringorKirby\Cms\LayoutColumn |
no default value |
Return type
bool
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