You are here

function gdpr_consent_theme in GDPR Consent 7

Implements hook_theme().

File

./gdpr_consent.module, line 328
Module file for GDPR Consent.

Code

function gdpr_consent_theme() {
  return array(
    'gdpr_consent_administration' => array(
      'render element' => 'form',
    ),
    'gdpr_consent_display' => array(
      'variables' => array(
        'form' => NULL,
      ),
    ),
    'gdpr_consent_page' => array(
      'render element' => 'form',
    ),
    'gdpr_consent_accept_label' => array(
      'variables' => array(
        'link' => FALSE,
      ),
    ),
    'gdpr_consent_target_link' => array(
      'variables' => array(
        'form' => FALSE,
      ),
    ),
  );
}