You are here

protected function AdminHelp::matching_rule in Webform CiviCRM Integration 8.5

File

src/AdminHelp.php, line 83
Admin form inline-help.

Class

AdminHelp
Class AdminHelp Adding a function to this class with the same name as a field will magically add pop-up help for that field to the admin form.

Namespace

Drupal\webform_civicrm

Code

protected function matching_rule() {
  return '<p>' . t('This determines how an <em>unknown</em> contact will be handled when the webform is submitted.') . '</p><ul>' . '<li>' . t('Select the "Default Unsupervised" rule for the same duplicate matching used by CiviCRM event registration and contribution forms.') . '</li>' . '<li>' . t('Select a specific rule to customize how matching is performed.') . '</li>' . '<li>' . t('Or select "- None -" to always create a new contact.') . '</li>' . '</ul><p>' . t('Note: Matching rules are only used if the contact is not already selected via "Existing Contact" field.') . '</p><p>' . t('Note: Contacts are created (using this matching rule) before any other entities are stored as Contacts need to exist before e.g. shared addresses can be processed.') . '</p><p>' . t('Note: Ensure all fields that are configured in your matching rule are added and required on your Webform - else you may get unexpected results') . '</p>';
}