function rolereference_content_migrate_field_alter in Role Reference 7
Implements hook_content_migrate_field_alter().
File
- ./
rolereference.module, line 270
Code
function rolereference_content_migrate_field_alter(&$field_value, $instance_value) {
switch ($instance_value['widget']['module']) {
case 'rolereference':
$field_value['settings']['referenceable_roles'] = $field_value['settings']['referenceable_types'];
unset($field_value['settings']['referenceable_types']);
break;
}
}