Use the field map in ::getFieldLabels()

Created on 28 July 2025, 1 day ago

Problem/Motivation

Spin-off from 📌 Optimize field module's hook_entity_bundle_info() implementation Active .

Note: the changes appear to make performance tests worse. Also because in e.g. building views data we try to check the field label for every field including base fields (which are on all bundles), it's not a performance improvement. It might be a performance improvement if ::getFieldLabels() called on a single field for one request.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

entity system

Created by

🇬🇧United Kingdom catch

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024