Core
Framework v2.x
2

get() #

Available since 2.12.2

Gets the instance of an already loaded plugin.

Copied to clipboard!
get<TPlugin extends Plugin> (name: string): TPlugin

Argument Type Description
name
string
Plugin name

Usage #

Copied to clipboard!
const mailerPlugin = app.plugin.get<MailerPlugin>('mailer');