You are here

function google_optimize_hide_page_pages in Google Optimize 8

The list of pages to add the snippet.

Return value

bool hide_page_pages

2 calls to google_optimize_hide_page_pages()
GoogleOptimizeAdminSettingsForm::buildForm in src/Form/GoogleOptimizeAdminSettingsForm.php
Form constructor.
google_optimize_hide_page_active in ./google_optimize.module
Whether to put the snippet on the page.

File

./google_optimize.module, line 100
google_optimize.module

Code

function google_optimize_hide_page_pages() {
  $config = \Drupal::config('google_optimize.settings');
  return $config
    ->get('hide_page_pages') ?: '';
}