function webform_invitation_help in Webform Invitation 2.0.x
Same name and namespace in other branches
- 8 webform_invitation.module \webform_invitation_help()
Implements hook_help().
File
- ./
webform_invitation.module, line 16 - Webform Invitation module.
Code
function webform_invitation_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'entity.webform.invitation':
return '<p>' . t('This page allows administrators to enable or disable invitations for the current webform.') . '</p>';
case 'entity.webform.invitation_codes':
return '<p>' . t('This page provides list of all invitation codes that have been generated for the current webform and whether or not they have been used.') . '</p>';
case 'entity.webform.invitation_generate':
return '<p>' . t('This page provides a form to generate invitation codes. You may choose the number of generated codes and their type (MD5 or custom).') . '</p>';
case 'entity.webform.invitation_download':
return '<p>' . t('This page lets you download the list of not used generated codes as an Excel sheet including code and full URL to access the webform with auto-submitting the invitation code.') . '</p>';
}
}