function fb_autopost_types_field_property_data_alter in Facebook Autopost 7
Implements hook_field_property_data_alter().
File
- fb_autopost_types/
fb_autopost_types.module, line 12
Code
function fb_autopost_types_field_property_data_alter(&$data) {
// field_facebook_scheduled_publish should be translated to scheduled_publish_time
if (isset($data['field_facebook_scheduled_publish'])) {
$data['field_facebook_scheduled_publish'] = 'scheduled_publish_time';
}
}