Skip to content

Kirby 6.0.0

$layoutColumns->has()

Checks if the given object or id is in the collection

$layoutColumns->has(string|LayoutColumn $key): bool

Parameters

Name Type Default
$keyrequired stringorKirby\Cms\LayoutColumn no default value

Return type

bool

Parent class

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