Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 843 Bytes

plugins.md

File metadata and controls

28 lines (21 loc) · 843 Bytes

3dash Plugins

A 3dash app is effectively a sequence of plugins that may manipulate the app's payload object. The order in which you add plugins is important! Plugins are run in the order they are added.

Add plugins that parse site files first, then add plugins that act on the parsed file data. Also, add plugins that provide tools before plugins that need those tools.

Interface

A plugin is any object that implements the PluginInterface interface:

public function handle(object $payload);

Directory