protected function AdminHelp::contact_reference in Webform CiviCRM Integration 8.5
3 calls to AdminHelp::contact_reference()
File
- src/
AdminHelp.php, line 421 - 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_civicrmCode
protected function contact_reference() {
return '<p>' . t('This is a contact reference field. Webform gives you a great deal of flexibility about how this field is displayed:') . '</p><ul>' . '<li>' . t('First choose a contact on this webform as the target for this field (or add a new contact to the form for that purpose).') . '</li>' . '<li>' . t('To enable a selection of contacts, enable the "Existing Contact" field for the selected contact.') . '</li>' . '<li>' . t('This allows the contact to be selected on the form via autocomplete or dropdown select, or hidden and set to always be the same contact.') . '</li>' . '<li>' . t('In rare cases you might want to expose the list of webform contacts ("User Select").') . '</li>' . '<li>' . t('There are many more possibilities, see "Existing Contact" field help for more information.') . '</li>' . '</ul>';
}