You are here

protected function AdminHelp::intro in Webform CiviCRM Integration 8.5

File

src/AdminHelp.php, line 18
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 intro() {
  return '<p>' . t('Create anything from a simple newsletter signup, to a complex multi-step registration system.') . '</p><strong>' . t('Getting Started:') . '</strong><ul>' . '<li>' . t('Enable fields for one or more contacts.') . '</li>' . '<li>' . t('Arrange and configure those fields on the "Webform" tab.') . '</li>' . '<li>' . t('Click the blue help icons to learn more.') . '</li>' . '<li><a href="https://docs.civicrm.org/webform-civicrm/en/latest/" target="_blank">' . t('Read the instructions.') . '</a></li>' . '</ul>';
}