$plugin->asset()
Returns the plugin asset object for a specific asset
$plugin->asset(string $path): Asset|null
Parameters
| Name | Type | Default |
|---|---|---|
| $pathrequired | string |
no default value |
Return types
Kirby\Plugin\Assetornull
Returns the plugin asset object for a specific asset
$plugin->asset(string $path): Asset|null
| Name | Type | Default |
|---|---|---|
| $pathrequired | string |
no default value |
Kirby\Plugin\Assetornull