You are here

protected function AdminHelp::contact_employer_id in Webform CiviCRM Integration 8.5

File

src/AdminHelp.php, line 41
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_employer_id() {
  return '<p>' . t('Choose a webform contact of type "Organization" to be the employer for this individual.') . '</p><p>' . t('Use the "Existing Contact" field for that organization to enable autocomplete or selection of employers.') . '</p><p>' . t('You can also autofill the employer by configuring the organization\'s "Existing Contact" default value to be "Employer" relationship to Contact 1.') . '</p>';
}