You are here

function eu_cookie_compliance_page_alter in EU Cookie Compliance (GDPR Compliance) 7

Same name and namespace in other branches
  1. 7.2 eu_cookie_compliance.module \eu_cookie_compliance_page_alter()

Implements hook_page_alter().

File

./eu_cookie_compliance.module, line 110
EU cookie compliance primary module file.

Code

function eu_cookie_compliance_page_alter(&$page) {
  if (isset($page['#theme']) && $page['#theme'] === 'panels_everywhere_page') {
    eu_cookie_compliance_page_build($page);
  }
}