Skip to content

Kirby 3.5.7.1

AppPlugins::plugin()

Kirby plugin factory and getter

AppPlugins::plugin(string $name, array $extends = null): Kirby\Cms\Plugin|null

Parameters

Name Type Default Description
$name * string
$extends array null If null is passed it will be used as getter. Otherwise as factory.

Return type

Kirby\Cms\Plugin|null

Exceptions

Parent class

Kirby\Cms\AppPlugins