Add "Usage" link to the entity operation links

Created on 17 December 2020, about 4 years ago
Updated 2 May 2024, 8 months ago

Problem/Motivation

When the local task of "Usage" is enabled in some entity types, it takes several clicks to go the usage tab from the entity listing page.
It would be nice to see "Usage" link in the operation dropdown menu in the result listing page.

Steps to reproduce

- Enable local task of "Usage" to the node entity type
- Index the entity usage
- Go the '/admin/content'
- Go to view page or edit page and then you can see the `Usage` link

Proposed resolution

Implement `hook_entity_operation` to add "Usage" link to those entity types of which local task is enabled in the entity usage settings config.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

โœจ Feature request
Status

RTBC

Version

2.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia eric.chenchao

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

Merge Requests

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