If you want to implement your own Inventory Loader to, for example, add Products from something inside your module?

That’s easy!

Create a file <customname>.inc.php in the folder modules/Workflow2/extends/inventoryloader/

This file must have the following structure:

[prism field=file language=php]

LOADERKEYinternal key of your loader to be able to register multiple loader
LOADERLABELVisible Label of Inventory Loader
LOADERCONFIGConfig, visible if Loader of selected

The CustomClassName could be chosen like you want. It only must equal in class definition and register function in last line.