You are here

function d8_google_optimize_hide_page_help in Drupal 8 Google Optimize Hide Page 8

Implements hook_help().

File

./d8_google_optimize_hide_page.module, line 14
d8_google_optimize_hide_page.module

Code

function d8_google_optimize_hide_page_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'admin.config.system.d8_google_optimize_hide_page':
      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',
      ]);
  }
}