$appPlugins->plugins()
Loads and returns all plugins in the site/plugins directory Loading only happens on the first call.
$appPlugins->plugins(array|null $plugins = null): array
Parameters
Name | Type | Default | Description |
---|---|---|---|
$plugins | array ornull |
null
|
Can be used to overwrite the plugins registry |
Return type
array
This method modifies the existing $appplugins
object it is applied to and returns it again.
Parent class
Kirby\Cms\AppPlugins