interface WebformCivicrmPreProcessInterface in Webform CiviCRM Integration 8.5
Hierarchy
- interface \Drupal\webform_civicrm\WebformCivicrmPreProcessInterface
Expanded class hierarchy of WebformCivicrmPreProcessInterface
All classes that implement WebformCivicrmPreProcessInterface
File
- src/
WebformCivicrmPreProcessInterface.php, line 8
Namespace
Drupal\webform_civicrmView source
interface WebformCivicrmPreProcessInterface {
/**
* Initialize form variables.
*
* @param $form
* @param $form_state
* @param $handler
*/
function initialize(&$form, FormStateInterface $form_state, WebformHandlerInterface $handler);
/**
* Alter front-end of webforms: Called by hook_form_alter() when rendering a civicrm-enabled webform
* Add custom prefix.
* Display messages.
* Block users who should not have access.
* Set webform default values.
*/
function alterForm();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
WebformCivicrmPreProcessInterface:: |
function | Alter front-end of webforms: Called by hook_form_alter() when rendering a civicrm-enabled webform Add custom prefix. Display messages. Block users who should not have access. Set webform default values. | 1 | |
WebformCivicrmPreProcessInterface:: |
function | Initialize form variables. | 1 |