You are here

protected function AdminHelp::contact_existing in Webform CiviCRM Integration 8.5

File

src/AdminHelp.php, line 31
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 contact_existing() {
  return '<p>' . t('Gives many options for how this contact can be autofilled or selected. From the Webform tab you can edit this field to configure:') . '</p><ul>' . '<li>' . t('Widget: Determine whether to expose this field to the form as an autocomplete or select element, or hide it and pick the contact automatically.') . '</li>' . '<li>' . t('Default Value: Select a contact based on the current user, relationships, or other options.') . '</li>' . '<li>' . t('Filters: Limit the list of available choices from which this contact may be autofilled or selected.') . '</li>' . '<li>' . t('Show/Hide Fields: Control which other fields the user is allowed to edit and which will be hidden.') . '</li>' . '</ul>';
}