Create and attach a compound¶
Enable Compound Field and use an account allowed to administer compounds, content types and fields. Choose unused machine names for this example.
Define Conference session¶
- Open Structure → Compound fields → Add compound field.
- Enter Conference session, machine name
session, and select Add new compound field. - On Manage fields, select Create a new field. Add these plain text string fields:
| Label | Machine-name suffix | Allowed number of values |
|---|---|---|
| Session title | title |
1 |
| Topics | topics |
3 |
| Internal note | note |
1, optional |
Field UI adds the field_ prefix to each suffix.
Attach it to Conference¶
- Create a Conference content type.
- Open Structure → Content types → Conference → Manage fields.
- Select Create a new field → Compound field → Conference session.
- Label it Sessions, field name
field_sessions, and allow Unlimited values. - Save. Each session can now hold up to three topics.