Skip to content

Kirby 5.1.2

$assets->custom()

Check for a custom asset file from the config (e.g. panel.css or panel.js)

$assets->custom(string $option): array

Parameters

Name Type Default
$optionrequired string no default value

Return type

array

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

Parent class

Kirby\Panel\Assets