function cck_select_other_content_migrate_field_alter in CCK Select Other 7
Same name and namespace in other branches
- 7.2 cck_select_other.module \cck_select_other_content_migrate_field_alter()
Implementation of hook_content_migrate_field_alter().
File
- ./
cck_select_other.module, line 456 - Implements a select list widget that lets a user provide an alternate option.
Code
function cck_select_other_content_migrate_field_alter(&$field_value) {
if ($field_value['type'] == 'cck_select_other') {
$field_value['type'] = 'list_text';
$field_value['module'] = 'list';
}
}