Skip to content

Kirby 5.0.4

$hasFiles->code()

Filters the Files collection by type code

$hasFiles->code(): Kirby\Cms\Files

Return type

Kirby\Cms\Files

This method modifies the existing $hasfiles object it is applied to and returns it again.

Parent class

Kirby\Cms\HasFiles