You are here

function gdpr_tasks_sars_callback_date in General Data Protection Regulation 7

GDPR SARs render callback for dates.

1 string reference to 'gdpr_tasks_sars_callback_date'
gdpr_tasks_field_metatdata_property_info_alter in modules/gdpr_tasks/gdpr_tasks.module
Field entity metadata property callback.

File

modules/gdpr_tasks/gdpr_tasks.module, line 901
Module file for the GDPR Tasks module.

Code

function gdpr_tasks_sars_callback_date(EntityMetadataWrapper $value) {
  return date('c', $value
    ->value());
}