Skip to content

$layouts->filterBy()

Alias for Kirby\Toolkit\Collection::filter

$layouts->filterBy(array $args = null): Kirby\Toolkit\Collection

Parameters

Name Type Default
$args array null

Return type

Kirby\Toolkit\Collection

This method does not modify the existing $layouts object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\Layouts inherited from Kirby\Toolkit\Collection