Skip to content

Annotations Profile

Injects annotation overlay triggers and dialogs into Profile fields embedded in the user account edit and registration forms.

Requirements

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

  1. Create a profile type and add fields to it.
  2. Add an annotation_target for profile__{machine_name} and write field-level annotations.
  3. Enable this module — triggers appear on the embedded profile fields automatically.