function google_optimize_help in Google Optimize 8
Implements hook_help().
File
- ./
google_optimize.module, line 13 - google_optimize.module
Code
function google_optimize_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'admin.config.system.google_optimize':
return t('The <a href="@opt_url">Optimize page-hiding snippet</a> supports loading
your Optimize container asynchronously while hiding the page until the container is ready,
ensuring that users don\'t see the initial page content prior to it being modified by an experiment.', [
'@opt_url' => 'https://developers.google.com/optimize/#the_page-hiding_snippet_code',
]);
}
return t('');
}