KMP PHP API Reference

WorkflowPluginLoader
in package

Discovers and loads workflow registrations from plugins.

Called during application bootstrap to populate the workflow registries with triggers, actions, conditions, and entities from all plugins.

Table of Contents

Methods

loadFromPlugins()  : void
Load workflow registrations from all plugins that implement KMPWorkflowPluginInterface.
getPluginName()  : string
Get the short name of a plugin from its class.
loadCoreActions()  : void
Register core actions.
loadCoreComponents()  : void
Load core workflow components (email, notes, role assignment, etc.)
loadCoreConditions()  : void
Register core conditions.
loadCoreEntities()  : void
Register core entity types.
loadCoreTriggers()  : void
Register core triggers.
loadPlugin()  : void
Load registrations from a single plugin.

Methods

loadFromPlugins()

Load workflow registrations from all plugins that implement KMPWorkflowPluginInterface.

public static loadFromPlugins(PluginCollection $plugins) : void
Parameters
$plugins : PluginCollection

The application's plugin collection

getPluginName()

Get the short name of a plugin from its class.

private static getPluginName(PluginInterface $plugin) : string
Parameters
$plugin : PluginInterface

Plugin instance

Return values
string

Plugin short name

loadCoreComponents()

Load core workflow components (email, notes, role assignment, etc.)

private static loadCoreComponents() : void

loadCoreConditions()

Register core conditions.

private static loadCoreConditions() : void

loadCoreEntities()

Register core entity types.

private static loadCoreEntities() : void
On this page

Search results