Skip to content

Commit

Permalink
Merge branch '1.x-5.x' into 1.x-5.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackaponte committed Oct 4, 2021
2 parents 521a9c1 + f2797a2 commit a6b375a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions includes/wf_crm_admin_help.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class wf_crm_admin_help {
'<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/sysadmin/en/latest/integration/drupal/webform/" target="_blank">' . t('Read the instructions.') . '</a></li>' .
'<li><a href="https://docs.civicrm.org/sysadmin/en/latest/integration/backdrop/webform/" target="_blank">' . t('Read the instructions.') . '</a></li>' .
'</ul>';
}

Expand Down Expand Up @@ -378,7 +378,7 @@ class wf_crm_admin_help {
print '<p>' .
t('You can select the case type for your case here, or configure this to be "User Select".') .
'</p><p>' .
t('When "User Select" is chosen a new Drupal field component will be added where you can configure the behaviour of this field in more detail.') .
t('When "User Select" is chosen a new Backdrop field component will be added where you can configure the behaviour of this field in more detail.') .
'<p></p>' .
t('Also note that setting this field will update the case type of any cases which are autoloaded by the form. ').
t('This may have undesirable consequences in some situations where, for example, certain custom fields no longer exist on ').
Expand Down
10 changes: 0 additions & 10 deletions webform_civicrm.module
Original file line number Diff line number Diff line change
Expand Up @@ -561,16 +561,6 @@ function webform_civicrm_admin_paths() {
return ['node/*/civicrm' => TRUE];
}

/**
* Implements hook_help().
*/
function webform_civicrm_help($section) {
if ($section == 'admin/help#webform_civicrm') {
// Return a line-break version of the module README.txt
return nl2br(file_get_contents(backdrop_get_path('module', 'webform_civicrm') . '/README.txt'));
}
}

/**
* Implements hook_webform_component_presave().
* Alter form keys when cloning a contact.
Expand Down

0 comments on commit a6b375a

Please sign in to comment.