List Value Archive
This module allows you to archive individual values from Drupal's list fields. Archived values are hidden from selection when creating new content but remain valid for existing content, preventing data loss. You can easily re-enable archived values at any time.
Drupal List fields (List text, integer, float) store a fixed set of allowed values. Once content uses a value, core will not let you remove it - so retired options stay in every dropdown forever.
List Value Archive lets you archive individual values: an archived value is hidden when creating new content but stays valid for existing content, which can still
be edited and saved. No migration, no data loss, and you can re-enable a value at any time.
Features
- Archive values from the normal field edit form - no code required.
- Hidden from select lists, radio buttons and checkboxes for new content.
- Existing content keeps the value (still displays, validates and saves).
- Re-enable an archived value with one click.
- Stored as field configuration- fully exportable and deployable.
Post-Installation
Grant the "Archive List field values" permission, edit a List field, tick the values to archive under "Archived values", and save. No configuration page - the setting lives on each List field.
Additional Requirements
Drupal core's Options module only. No other dependencies.
Recommended modules/libraries
None.