Skip to content

Commit

Permalink
Error on purchase rate plan with Postgres (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
phdhiren authored Mar 2, 2023
1 parent d40ce5d commit 8fcc735
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Entity/PurchasedProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
$definitions[$field_name]->setDisplayConfigurable('form', FALSE);
}

// Set the target_type for ratePlan base field.
$definitions['ratePlan']->setSetting('target_type', 'rate_plan');

return $definitions;
}

Expand Down

0 comments on commit 8fcc735

Please sign in to comment.