You are here

function eu_cookie_compliance_theme in EU Cookie Compliance (GDPR Compliance) 7.2

Same name and namespace in other branches
  1. 8 eu_cookie_compliance.module \eu_cookie_compliance_theme()
  2. 6 eu_cookie_compliance.module \eu_cookie_compliance_theme()
  3. 7 eu_cookie_compliance.module \eu_cookie_compliance_theme()
  4. 2.0.x eu_cookie_compliance.module \eu_cookie_compliance_theme()

Implements hook_theme().

File

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

Code

function eu_cookie_compliance_theme() {
  $path = drupal_get_path('module', 'eu_cookie_compliance') . '/theme';
  return array(
    'eu_cookie_compliance_popup_info_consent_default' => array(
      'template' => 'eu-cookie-compliance-popup-info-consent-default',
      'variables' => array(
        'message' => NULL,
        'agree_button' => NULL,
        'disagree_button' => NULL,
        'secondary_button_label' => NULL,
        'primary_button_class' => NULL,
        'secondary_button_class' => NULL,
        'save_preferences_button_label' => NULL,
        'privacy_settings_tab_label' => NULL,
        'withdraw_button_on_info_popup' => FALSE,
        'method' => 'default',
      ),
      'path' => $path,
    ),
    'eu_cookie_compliance_popup_info' => array(
      'template' => 'eu-cookie-compliance-popup-info',
      'variables' => array(
        'message' => NULL,
        'agree_button' => NULL,
        'disagree_button' => NULL,
        'secondary_button_label' => NULL,
        'primary_button_class' => NULL,
        'secondary_button_class' => NULL,
        'privacy_settings_tab_label' => NULL,
        'cookie_categories' => NULL,
        'method' => 'default',
      ),
      'path' => $path,
    ),
    'eu_cookie_compliance_popup_agreed' => array(
      'template' => 'eu-cookie-compliance-popup-agreed',
      'variables' => array(
        'message' => NULL,
        'hide_button' => NULL,
        'find_more_button' => NULL,
      ),
      'path' => $path,
    ),
    'eu_cookie_compliance_withdraw' => array(
      'template' => 'eu-cookie-compliance-withdraw',
      'variables' => array(
        'withdraw_tab_button_label' => NULL,
        'message' => NULL,
        'withdraw_action_button_label' => NULL,
      ),
      'path' => $path,
    ),
    'eu_cookie_compliance_admin_categories_form' => array(
      'render element' => 'form',
    ),
  );
}