backdrop-contrib / entityreference_migration

Migrate References module fields (node and user references) to Entity Reference fields.
GNU General Public License v2.0
0 stars 1 forks source link

Term Reference fields? #1

Closed stpaultim closed 2 years ago

stpaultim commented 2 years ago

Does this or will this work with Term Reference fields?

laryn commented 2 years ago

For reference: https://forum.backdropcms.org/forum/convert-term-reference-entity-reference-field

The Readme doesn't mention it but the issue below suggests it may work:

indigoxela commented 2 years ago

I don't think term ref fields are considered at all (looking at the code)

  if (!in_array($field_info['type'], array('node_reference', 'user_reference'))) {
    drupal_set_message(t("Field @field is not a references field.", array('@field' => $field_name)), 'error');
  }

BTW "drupal_set_message..." - really? :stuck_out_tongue:

herbdool commented 2 years ago

@stpaultim done