You are here

interface WebformCivicrmPreProcessInterface in Webform CiviCRM Integration 8.5

Hierarchy

Expanded class hierarchy of WebformCivicrmPreProcessInterface

All classes that implement WebformCivicrmPreProcessInterface

File

src/WebformCivicrmPreProcessInterface.php, line 8

Namespace

Drupal\webform_civicrm
View 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

Namesort descending Modifiers Type Description Overrides
WebformCivicrmPreProcessInterface::alterForm 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::initialize function Initialize form variables. 1