Core
Framework v2.x
2

get() #

Available since 2.12.2

Gets the instance of an already loaded plugin.

get<TPlugin extends Plugin> (name: string): TPlugin

ArgumentTypeDescription
name
string
Plugin name

Usage #

const mailerPlugin = app.plugin.get<MailerPlugin>('mailer');