You are here

function taxonomy_machine_name_update_7001 in Taxonomy Machine Name 7

Disable native migrate taxonomy field handler.

1 call to taxonomy_machine_name_update_7001()
taxonomy_machine_name_install in ./taxonomy_machine_name.install
Implements hook_install().

File

./taxonomy_machine_name.install, line 87
Taxonomy Machine Name Install File.

Code

function taxonomy_machine_name_update_7001() {
  $disabled = unserialize(variable_get('migrate_disabled_handlers', serialize(array())));
  $disabled[] = 'MigrateTaxonomyTermReferenceFieldHandler';
  $disabled = array_unique($disabled);
  variable_set('migrate_disabled_handlers', serialize($disabled));
}