EntityFieldAccessEvent::getItems() must allow for NULL

Created on 21 July 2021, over 3 years ago
Updated 19 April 2024, 12 months ago

Problem/Motivation

hook_entity_field_access() may pass NULL for the field items, e.g. if they are not yet available. (Such as when json:api checks field access when resolving filters.) The return value definition must accommodate for this.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.
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