Pass entity type to entity_is_owned_by_account

Created on 27 July 2018, almost 7 years ago
Updated 6 February 2025, 5 months ago

_field_permissions_entity_is_owned_by_account() relies on the entity implementing the entityType() method which is often not the case. This function seems to only be called from implementation of hook_field_access which always has the entity type passed to it. Suggest passing this on rather than using the entityType() method.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom r-mo

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