You are here

protected function AdminHelp::address_master_id in Webform CiviCRM Integration 8.5

File

src/AdminHelp.php, line 121
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 address_master_id() {
  return '<p>' . t('When selected, will hide fields for this address and use those of the other contact.') . '</p><p>' . t('Tip: In many use-cases it is desirable to show this field as a single checkbox. You can configure that by editing the field and removing all but one option (the one this contact is allowed to share) and re-labelling it something like "Same as my address".') . '</p>';
}