Annotations Profile
Injects annotation overlay triggers and dialogs into Profile fields embedded in the user account edit and registration forms.
Requirements
- Annotations +
annotations_overlay - Profile
What it does
When a profile type has "Show during registration" enabled, its fields appear inside the user form via ProfileFormWidget. This module detects those embedded profile sub-forms and injects the same ? trigger buttons that annotations_overlay provides on standalone entity forms.
If the site-wide "Show add triggers on targets that have no annotations" setting (Annotations → Settings) is on, fields with no annotations yet get a + trigger instead, opening a dialog with links to create them — same behavior as annotations_overlay, extended to embedded profile fields.
Standalone profile forms at /profile/{profile}/edit do not need this module.
Setup
- Create a profile type and add fields to it.
- Add an
annotation_targetforprofile__{machine_name}and write field-level annotations. - Enable this module — triggers appear on the embedded profile fields automatically.