Remove '#object' in the formatter render arrays

Created on 17 January 2015, almost 10 years ago
Updated 18 February 2023, almost 2 years ago

FormatterBase::view() includes an '#object' => $the_entity_being_rendered entry in $build[$field_name].
That is pointless, the parent entity can be obtained from the #items entry.
The name ('object' ?) is also really weird. Plus, it's never ever used in Core.

📌 Task
Status

Needs work

Version

10.1

Component
Field 

Last updated 5 days ago

Created by

🇫🇷France yched

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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