Skip to content

Kirby 4.5.0

$plugin->asset()

Returns the plugin asset object for a specific asset

$plugin->asset(string $path): Kirby\Cms\PluginAsset|null

Parameters

Name Type Default
$path * string

Return type

Kirby\Cms\PluginAsset|null

Parent class

Kirby\Cms\Plugin