Problem/Motivation

Steps to reproduce

Admin > Config > Content Authoring > Entity Usage Light settings, check only content entity
Go to a user edit form -> the usage tab is here

Proposed resolution

Check if current entity is in active in config before add tab.

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

daisyleroy created an issue. See original summary.

daisyleroy’s picture

StatusFileSize
new795 bytes
daisyleroy’s picture

Status: Active » Needs review
daisyleroy’s picture

Assigned: daisyleroy » Unassigned
ericdsd’s picture

Tested patch #2 it works like a charm
+1 for RTBC

kanchan bhogade’s picture

Status: Needs review » Needs work

Hi @ericdsd
I've tried to reproduce the issue, but from the issue summary not got the exact issue and expected behavior of the module,
Can you please add more details around it, it will be helpful to work on it.

Thank you

kanchan bhogade’s picture

Status: Needs work » Needs review

Hi,
got the issue, moving to Needs Review

kanchan bhogade’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new83.45 KB
new11.28 KB
new15.7 KB
new15.94 KB
new13.26 KB

Hi
I've tested the #2 patch on Drupal version 10.x
The patch was applied successfully...

Testing steps:

  1. Admin > Config > Content Authoring > Entity Usage Light settings, check only content entity
  2. Go to a user edit form -> the usage tab is here

Test Result:
Only activate the content entity type's entity/node having a Usage tab.

Adding screenshots for reference

RTBC +1

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Can confirm the bug and that #2 solves the problem.

Turned to MR to hopefully help maintainer.

  • smustgrave committed 2aff5ec7 on 1.0.x
    Issue #3405825 by daisyleroy, Kanchan Bhogade: Usage tab is added for...
smustgrave’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.