Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Defines the inline entity form for line items.
The same as it's done for Product Variations.
Comment | File | Size | Author |
---|---|---|---|
#5 | line_item_ief_class-2619238-4.patch | 1.83 KB | vasike |
#3 | defines_the_inline-2619238-3.patch | 1.43 KB | mglaman |
#2 | line_item_ief_class-2619238-2.patch | 1.33 KB | vasike |
Comments
Comment #2
vasikethere is patch for this
Build LineItemInlineForm for Order line items.
Comment #3
mglamanUpdate to use \Drupal\Core\StringTranslation\StringTranslationTrait for translation.
Comment #4
vasikeThere is a new patch
Update for previous patch (#2) : Add submission handler for LineItem, to set the LineItem title from purchased entity selected.
@mglaman : for now we'll keep the t(), StringTranslationTrait probably it should go in IEF, and then maybe used here.
but thanks a lot.
Comment #5
vasikeforgot the patch file
Comment #6
mglamanvasike makes sense!
Comment #7
bojanz CreditAttribution: bojanz at Centarro commentedMoved the logic to an #entity_builder so that it integrates more cleanly with IEF, and committed.