protected function AdminHelp::reg_options_title_display in Webform CiviCRM Integration 8.5
File
- src/
AdminHelp.php, line 270 - 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_civicrmCode
protected function reg_options_title_display() {
return '<p>' . t('Controls how events are displayed. Date formats can be further configured in
<a href=":link">CiviCRM Date Settings</a>', [
':link' => Url::fromUri('internal:/civicrm/admin/setting/date', [
'query' => [
'reset' => 1,
],
])
->toString(),
]) . '</p><p>' . t('Note: End-date will automatically be omitted if it is the same as the start-date.') . '</p>';
}