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