Skip to content

Kirby 5.0.4

$kirby->nativeComponent()

Returns the native implementation of a core component

$kirby->nativeComponent(string $component): Closure|false

Parameters

Name Type Default
$componentrequired string no default value

Return types

Closureorfalse

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

Parent class

Kirby\Cms\App

Examples

See Kirby loves CDN