Assets::factory()
Creates a new collection for the plugin's assets by considering the plugin's asset
extension (and assets
directory as fallback)
Assets::factory(Kirby\Plugin\Plugin $plugin): Kirby\Plugin\Assets
Parameters
Name | Type | Default |
---|---|---|
$pluginrequired | Kirby\Plugin\Plugin |
no default value |