List removed and added values for an individual field

Created on 17 May 2025, 18 days ago

Problem/Motivation

Verbally summarizing changes *within* multivalue fields is a useful addition to the main functionality of listing the changed fields between two revisions of a content entity.

Proposed resolution

Add a method that returns an array of changed valuesβ€” added and removed, not any that stay the same β€” between the current and a given past revision.

Remaining tasks

User interface changes

API changes

listChangesInField(ContentEntityInterface $entity, int $version_id, string $field_name)

Data model changes

None.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024