Skip to content

CRM Contact Detail Entity Type + Address bundle

CRM Contact Detail Entity Type with bundles Address, Phone, and Email. "Addresses" base field Entity Reference on CRM Contact to CRM Contact Detail with bundle Address using Inline Entity Form.

I'll plan to create a new branch to demo mapping Contacts' addresses, but this is ready for review.

Proposed follow-up issues:

  1. Use Entity Reference Revisions to allow referenced Contact Detail entities' revisions to be synced with the host Contact entity (similar to Paragraphs)
  2. Move Location Type and Phone Type from crm_field module to crm module
  3. Refactor base and non-base field machine names to use crm_ prefix to avoid potential namespace conflicts with other modules
  4. Implement (Contact Detail) Phone and Email bundles and remove crm_field module
  5. Access control for the Contact Details, which is blocked on Contact access control working for non-admin users
  6. Add "Make primary" button to each non-first row of the Contact Detail inline entity form table that moves the given Contact Detail to the top of the list + make clear that the top item is "primary"
Edited by JD Leonard

Merge request reports

Loading