Skip to content

Kirby 4.2.0

$layoutcolumns->has()

Checks if the given object or id is in the collection

$layoutcolumns->has(string|object $key): bool

Parameters

Name Type Default
$key * string|object

Return type

bool

Parent class

Kirby\Cms\LayoutColumns inherited from Kirby\Cms\Collection