PLUGINS

METHODS

register

register_plugin

plugin_setting

Configuration for plugin should be structured like this in the config.yaml of the application:

plugins:
plugin_name:
key: value

If plugin_setting is called inside a plugin, the appropriate configuration will be returned. The plugin_name should be the name of the package, or, if the plugin name is under the Dancer::Plugin:: namespace, the end part of the plugin name.