You are here

protected function AdminHelp::fee in Webform CiviCRM Integration 8.5

3 calls to AdminHelp::fee()
AdminHelp::contribution_total_amount in src/AdminHelp.php
AdminHelp::membership_fee_amount in src/AdminHelp.php
AdminHelp::participant_fee_amount in src/AdminHelp.php

File

src/AdminHelp.php, line 174
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 fee() {
  return '<p>' . t('Once added to the webform, this field can be configured in a number of ways by changing its settings.') . '</p><strong>' . t('Possible Widgets:') . '</strong><ul>' . '<li>' . t('Number (default): Allow the user to enter an amount, optionally constrained by min, max, and increments.') . '</li>' . '<li>' . t('Hidden: Set the amount without giving the user a choice.') . '</li>' . '<li>' . t('Select/Radios: Allow the user to choose from one of several options.') . '</li>' . '<li>' . t('MultiSelect/Checkboxes: Each choice the user selects will be added together.') . '</li>' . '<li>' . t('Grid: Configure multiple items and quantities.') . '</li>' . '</ul>';
}