drupal_set_message(t('Changing the %expiration, %cookie or %header values will invalidate all current supercookie data. Users will receive a new supercookie when they next visit the site.',array(
$this->messenger()->addWarning(t('Changing the %expiration, %cookie or %header values will invalidate all current supercookie data. Users will receive a new supercookie when they next visit the site.',array(
'%expiration'=>t('Cookie expiration'),
'%cookie'=>t('Cookie name'),
'%header'=>t('HTTP header'),
)),'warning',FALSE);
)),FALSE);
$form['intro']=array(
'#markup'=>'<p>'.t("Supercookie values will be unique across @report within the specified expiration interval.</p>",array(
@@ -154,8 +154,8 @@ MONGODB;
'#type'=>'details',
'#title'=>t('Obfuscation'),
'#description'=>t("Supercookies have been criticized as a means of silently gathering user data. While this module only stores a hash of the user agent and server-side variables collected from the user, you may still wish to obfuscate the default machine names and @alias (the current alias is %alias).",array(
'@alias'=>Link::fromTextAndUrl(t('alias the "supercookie" path'),Url::fromRoute('path.admin_overview'))->toString(),