Loading includes/commerce_product.inline_entity_form.inc +2 −2 Changes for includes/commerce_product.inline_entity_form.inc: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -81,8 +81,8 @@ class CommerceProductInlineEntityFormController extends EntityInlineEntityFormCo foreach ($attributes as $field_name => $attribute) { $field_type = field_info_field_types($attribute['field']['type']); // Override the default formatter for taxonomy_term_reference. if ($field_type['default_formatter'] == 'taxonomy_term_reference_link') { $field_type['default_formatter'] = 'taxonomy_term_reference_plain'; if($attribute['field']['type'] === 'taxonomy_term_reference') { $field_type['default_formatter'] = str_replace('taxonomy_term_reference_link', 'taxonomy_term_reference_plain', $field_type['default_formatter']); } $weight = -3; Loading Loading
includes/commerce_product.inline_entity_form.inc +2 −2 Changes for includes/commerce_product.inline_entity_form.inc: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -81,8 +81,8 @@ class CommerceProductInlineEntityFormController extends EntityInlineEntityFormCo foreach ($attributes as $field_name => $attribute) { $field_type = field_info_field_types($attribute['field']['type']); // Override the default formatter for taxonomy_term_reference. if ($field_type['default_formatter'] == 'taxonomy_term_reference_link') { $field_type['default_formatter'] = 'taxonomy_term_reference_plain'; if($attribute['field']['type'] === 'taxonomy_term_reference') { $field_type['default_formatter'] = str_replace('taxonomy_term_reference_link', 'taxonomy_term_reference_plain', $field_type['default_formatter']); } $weight = -3; Loading