Class PluginInvokeEvent
Index
Constructors
Properties
Constructors
constructor
- new
Plugin (copyProps?, passthruProps?): PluginInvokeEventInvoke Event Initializes PluginEvent.
Parameters
Optional
copyProps: objectEvent data to copy.
Optional
passthruProps: objectEvent data to pass through.
Returns PluginInvokeEvent
Properties
data
data: object
Provides the unified event data assigning any pass through data to the copied data supplied. Invoked functions may add to or modify this data.
eventbus
Unique data available in each plugin invoked.
pluginName
pluginName : string
Unique data available in each plugin invoked.
pluginOptions
pluginOptions : object
Unique data available in each plugin invoked.
PluginEvent - Provides the data / event passed to all invoked methods in PluginInvokeSupport#invokeSyncEvent. The
event.data
field is returned to the caller. Before returning though additional the following additional metadata is attached:(number)
$$plugin_invoke_count
- The count of plugins invoked.(string[])
$$plugin_invoke_names
- The names of plugins invoked.