$kirby->extend()
Register all given extensions
$kirby->extend(array $extensions, Kirby\Plugin\Plugin|null $plugin = null): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $extensionsrequired | array |
no default value | |
| $plugin | Kirby\Plugin\Pluginornull |
null
|
The plugin which defined those extensions |
Return type
array
This method modifies the existing $app object it is applied to and returns it again.