priority
: The priority of the plugin relative to other plugins that determines call order. Higher numbers have higher priority. If not specified it will default to a priority of 0.init
: An initialization function called when registered with Formio. It will receive the global Formio object as its first parameter.deregister
: A deregistration function called when deregistering with Formio. It will receive the global Formio object as its first parameter.deregister
function on the plugin before deregistering. The plugin
argument can be the instance of the plugin or the optional name given when registered. Returns true if the plugin was successfully deregistered, false if the plugin does not exist.requestArgs
is an object that contains the following properties:formio
: The Formio instance calling the request.type
: The type of resource being requested (ex: form, forms, submission).url
: The url being requested.method
: The HTTP request method.data
: The HTTP request body, if any.opts
: Any opts given to the requestrequestArgs
is an object that contains the following properties:formio
: The Formio instance calling the request.type
: The type of resource being requested (ex: form, forms, submission).url
: The url being requested.method
: The HTTP request method.data
: The HTTP request body, if any.opts
: Any opts given to the requestpromise
is the promise of the request.requestArgs
is an object that contains the following properties:formio
: The Formio instance calling the request.type
: The type of resource being requested (ex: form, forms, submission).url
: The url being requested.method
: The HTTP request method.data
: The HTTP request body, if any.opts
: Any opts given to the requestpreRequest
hook but used for requests that use the global Formio object instead of a Formio instance. This includes functions like Formio.loadProjects()
, Formio.availableActions()
, Formio.currentUser()
.requestArgs
is an object that contains the following properties:url
: The url being requested.method
: The HTTP request method.data
: The HTTP request body, if any.request
hook but used for requests that use the global Formio object instead of a Formio instance. This includes functions like Formio.loadProjects()
, Formio.availableActions()
, Formio.currentUser()
.requestArgs
is an object that contains the following properties:url
: The url being requested.method
: The HTTP request method.data
: The HTTP request body, if any.wrapRequestPromise
hook but used for requests that use the global Formio object instead of a Formio instance. This includes functions like Formio.loadProjects()
, Formio.availableActions()
, Formio.currentUser()
.promise
is the promise of the request.requestArgs
is an object that contains the following properties:url
: The url being requested.method
: The HTTP request method.data
: The HTTP request body, if any.