interface WebformCivicrmPostProcessInterface in Webform CiviCRM Integration 8.5
Hierarchy
- interface \Drupal\webform_civicrm\WebformCivicrmPostProcessInterface
Expanded class hierarchy of WebformCivicrmPostProcessInterface
All classes that implement WebformCivicrmPostProcessInterface
File
- src/
WebformCivicrmPostProcessInterface.php, line 15 - Front-end form validation and post-processing.
Namespace
Drupal\webform_civicrmView source
interface WebformCivicrmPostProcessInterface {
function initialize(WebformInterface $webform);
/**
* Called after a webform is submitted
* Or, for a multipage form, called after each page
* @param array $form
* @param array $form_state (reference)
*/
public function validate($form, FormStateInterface $form_state, WebformSubmissionInterface $webform_submission);
/**
* Process webform submission when it is about to be saved. Called by the following hook:
*
* @see webform_civicrm_webform_submission_presave
*
* @param \Drupal\webform\WebformSubmissionInterface $webform_submission
*/
public function preSave(WebformSubmissionInterface $webform_submission);
/**
* Process webform submission after it is has been saved. Called by the following hooks:
* @see webform_civicrm_webform_submission_insert
* @see webform_civicrm_webform_submission_update
* @param stdClass $submission
*/
public function postSave(WebformSubmissionInterface $webform_submission);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformCivicrmPostProcessInterface:: |
function | 1 | ||
WebformCivicrmPostProcessInterface:: |
public | function | Process webform submission after it is has been saved. Called by the following hooks: | 1 |
WebformCivicrmPostProcessInterface:: |
public | function | Process webform submission when it is about to be saved. Called by the following hook: | 1 |
WebformCivicrmPostProcessInterface:: |
public | function | Called after a webform is submitted Or, for a multipage form, called after each page | 1 |