function gdpr_consent_field_is_empty in General Data Protection Regulation 7
Implements hook_field_is_empty().
File
- modules/
gdpr_consent/ gdpr_consent.module, line 497 - Contains hook implementations and shared functions.
Code
function gdpr_consent_field_is_empty($item, $field) {
return empty($item['target_id']);
}