You are here

function gdpr_consent_field_widget_info in General Data Protection Regulation 7

Implements hook_field_widget_info().

Field widget to show consent information.

File

modules/gdpr_consent/gdpr_consent.module, line 566
Contains hook implementations and shared functions.

Code

function gdpr_consent_field_widget_info() {
  return array(
    'gdpr_consent_widget' => array(
      'label' => t('GDPR Consent'),
      'field types' => array(
        'gdpr_user_consent',
      ),
    ),
  );
}