Interface

IAssetLinkPluginIngestorHandle

IAssetLinkPluginIngestorHandle

An object which is passed into the method a plugin provides for declaring a plugin ingestor via IAssetLinkPluginHandle#definePluginIngestor.

View Source assetlink-plugin-api/src/IAssetLinkPluginIngestorHandle.js, line 3

Methods

# onEveryPlugin(ingestorFn)

Specify the component for this plugin-provided route.

Usage

pluginIngestor.onEveryPlugin(plugin => {

  handle.onBehalfOf(plugin, attributedHandle => {
    // Asset Link will manage the lifecycle of routes/slots/etc defined via `attributedHandle`
  });

});
Parameters:
Name Type Description
ingestorFn pluginIngestorFn

The function which accepts each loaded plugin

View Source assetlink-plugin-api/src/IAssetLinkPluginIngestorHandle.js, line 16