summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2018-10-31 13:43:24 (GMT)
committerhass2018-10-31 13:43:24 (GMT)
commit81727a1a6c2d380b3eeaba3267e170bfd6cb3e09 (patch)
treea75145e35cca8680ce6b6cf362f0f58089ec0f14
parent9516a0a001b94e3bbb0e3e12c6b5d700b6418fb7 (diff)
Rename strings.
-rw-r--r--google_analytics.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/google_analytics.install b/google_analytics.install
index d9bd9c9..f75a421 100644
--- a/google_analytics.install
+++ b/google_analytics.install
@@ -14,10 +14,10 @@ use Drupal\user\Entity\Role;
function google_analytics_install() {
// Make the default install more user and GDPR friendly.
$role = Role::load('authenticated');
- $role->grantPermission('opt-in or out of matomo tracking');
+ $role->grantPermission('opt-in or out of google analytics tracking');
$success = $role->save();
if ($success) {
- drupal_set_message(t('Module %module granted %permission permission to authenticated users.', ['%module' => 'Matomo Analytics', '%permission' => t('Opt-in or out of tracking')]), 'status');
+ drupal_set_message(t('Module %module granted %permission permission to authenticated users.', ['%module' => 'Google Analytics', '%permission' => t('Opt-in or out of tracking')]), 'status');
}
}