Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When editing points from the referencing entity, we'd like to use Inline Entity Form, otherwise, it's not usable. Let's add the dependency, and make IEF the default widget for the field.
Comment | File | Size | Author |
---|---|---|---|
#8 | use_ief_for_points_widget-2884539-8.patch | 683 bytes | dravenk |
Comments
Comment #2
谢艳 CreditAttribution: 谢艳 commentedComment #3
skyredwangWe need a solution to make IEF the default widget for the entity reference to points.
Comment #4
谢艳 CreditAttribution: 谢艳 commentedwhen points ref field add, entity-form-display-form default widget only has IEF, but when edit node or user ,point form still displays autocomplete ,
Comment #5
skyredwangPlease remove the debugging line.
OK. This patch might be what we need, but we need more. We need to implement PointInlineForm.php, otherwise, IEF won't know what form to use for PointEntity. I don't see IEF picking up any default form for PointEntity, do you?
Comment #6
skyredwangThis problem was fixed by #2883735: Convert the number field to be configurable
Comment #7
skyredwangThis is not a legit Drupal hook.
Comment #8
dravenkRemove the deprecated method
Comment #9
skyredwangNo. these are necessary to get IEF to work.
Comment #11
skyredwang