Motivation

Support the "view label" access operation as defined by core. Even though it's only used for user profiles in core, it's supported for all entity types on API level. access control handlers may implement it.

Proposed resolution

Core has "view label" access operation what shall be used for entity_label formatter instead of "view".
Also, for entity_ce_render formatter it might be the right access-operation to check for, depending on what is output, so that shall be configurable.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fago created an issue. See original summary.

fago’s picture

Status: Active » Needs review

add MR with the implementation.
Note: Created with a coding agent, reviewed and assessed by me.

  • fago committed 511a4de0 on 3.x
    task: #3620495 Improve "Entity label" formatter with support for "view...
fago’s picture

Status: Needs review » Fixed

code is good, this works well and comes with BC-fallback value. merged!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.