Jump to main content Jump to doc navigation

OnPluginFormPrerender

Other versions: 3.x — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

Event: OnPluginFormPrerender

Occurs before the plugin modification form is rendered, but after the JS is registered. Can be used to render custom Javascript for the mgr.

Service: 1 - Parser Service Events Group: Plugins

Event Parameters

Name Description
mode Either 'new' or 'upd', depending on the circumstance.
id The ID of the Plugin. Will be 0 for new plugins.
plugin A reference to the modPlugin object. Will be null in new plugins.

See Also