Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Views required by dispatch() should be generated by creating a view template dispatch.inc. Doing so will leverage standard infrastructure to create a form and insert Petition and (if applicable) Token information so that the Plugin does not need to worry about carrying this metadata across the form submission. The view variable $vv_petition will have information about the current Petition.

(info) Plugins should not update operational records as part of dispatch(). Instead, state should be saved in Plugin-specific tables. See finalize() below for more information.

...