new Plugin()
Parameters
Name | Type | Default | Description |
---|---|---|---|
$name * | string |
– | Plugin name within Kirby (vendor/plugin ) |
$extends | array |
[ ] |
Associative array of plugin extensions |
$info | array |
[ ] |
|
$root | string |null |
null |
|
$version | string |null |
null |
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
If the plugin name has an invalid format |