Follow-up to: #1668292: Move simplified Profile2 module into core

Problem

  • The is a 1:1 relationship between a user account and each profile (type) currently, but certain profile types may need to be multiple (1:n).

Proposed solution

  1. Add a property/flag to ProfileType that indicates whether users may create multiple instances of the profile type.

    Quoting @fago from #1668292-84: Move simplified Profile2 module into core:

    This could be an optional validation constraint, or an additional entity reference for optional attaching the profile to another entity (configured per bundle). This reference could be used for making sure there is just 1 profile per attached entity + it can be the base for adding in profile2 display extra-field integration or user-register extra-form integration.

Related issues