screenshot List Value Archive

This project is not covered by Drupal’s security advisory policy.

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.

None.

Supporting organizations: 

Project information

Releases