bim_gdpr-1.0.0-rc3/bim_gdpr.module
bim_gdpr.module
<?php
/**
* @file
* Primary module hooks for bim-gdpr module.
*
* @DCG
* This file is no longer required in Drupal 8.
* @see https://www.drupal.org/node/2217931
*/
use Drupal\bim_gdpr\Services\BimGdprInitializer;
/**
* Implements hook_preprocess_HOOK().
*/
function bim_gdpr_preprocess_html(&$variables) {
if (!\Drupal::service('router.admin_context')->isAdminRoute()) {
BimGdprInitializer::me()->initialize($variables);
}
}
