function gdpr_consent_help in GDPR Consent 7
Implements hook_help().
File
- ./
gdpr_consent.module, line 11 - Module file for GDPR Consent.
Code
function gdpr_consent_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/help#gdpr_consent':
$output .= t('Display a GDPR consent statement on the registration page, asks visitor to accept GDPR consent to register.');
break;
case 'admin/settings/gdpr_consent':
$output .= t('Display a consent statement on the registration page, asks visitor to accept the GDPR consent to register. A <a href="@page">page</a> displaying your GDPR consent will be automatically created, access to this page can be set via the <a href="@access">permissions</a> administration page.', array(
'@page' => url('gdpr_consent'),
'@access' => url('admin/user/permissions'),
));
break;
}
return $output;
}