Add a $properties argument to FieldItemList::equals()

Created on 31 January 2018, almost 7 years ago
Updated 19 June 2023, over 1 year ago

Problem/Motivation

In #2940204: Translatable fields with synchronization enabled should behave as untranslatable fields with respect to pending revisions we realized that it would be handy to be able specify a $properties parameter to compare only a subset of the item properties.

Proposed resolution

Add it

Remaining tasks

  • Validate the proposed solution
  • Write a patch
  • Reviews

User interface changes

None

API changes

Only BC additions

Data model changes

None

📌 Task
Status

Closed: duplicate

Version

10.1

Component
Entity 

Last updated about 5 hours ago

Created by

🇮🇹Italy plach Venezia

Live updates comments and jobs are added and updated live.
  • API addition

    Enhances an existing API or introduces a new subsystem. Depending on the size and impact, possibly backportable to earlier major versions.

  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024