Problem/Motivation

I've been reviewing this module and one thing that struck me is that I don't think I can see how a user can navigate to these diagrams from a content type. All the routes are in your own admin section and not connected to existing content type admin pages.

should it be?

Updated 2/24 I altered the title and the intent slightly so that a CM Document, if it exists for a bundle would link to the related entity reference diagram.

Updated 4/25

Acceptance Criteria

  1. When editing a content type or vocabulary, if you had permission to see the entity reference diagram you would see a tab that says "Entity Relationships" that would take you to /admin/reports/content-model/entity-diagram//?max_depth=2
  2. example: while here /admin/structure/types/manage/book you would see a tab that says "Entity Relationships" that would take you to /admin/reports/content-model/entity-diagram/node/book?max_depth=2
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

cosmicdreams created an issue. See original summary.

swirt’s picture

This is a great thing to call out.
It is similar to this issue #3339245: Tabs for documents which would connect CM Documents to the entity UI for content entities and fields.

It is also similar to this one #3340574: Add Views relationship plugin that would allow links to CM document to show up in the field report.

Yours is a great suggestion to have the diagram available from other places.

swirt’s picture

Component: Code » Diagram
swirt’s picture

Title: Add link from Content bundle » Add link from Content bundle CM Document
Issue summary: View changes
nidhi27’s picture

Hii @swirt,

Can you please guilde me on this so that I can understand the requirement.

Thanks!

swirt’s picture

Issue summary: View changes

Hi Nidhi27, sorry about that. I just added some Acceptance Criteria. Let me know if you have questions.

nidhi27’s picture

Assigned: Unassigned » nidhi27

nidhi27’s picture

Assigned: nidhi27 » Unassigned
Status: Active » Needs review

Hii,

I have created MR !41 to resolve this feature request. Let me know if any changes are needed.
Thanks!

nidhi27’s picture

Hii @swirt,

I have tried to debug the issue but not able to understand why it disappears taxonomy only.

nidhi27’s picture

Hii,

Issue is resolved. Now showing for taxonomy as well.
Thanks!

nidhi27’s picture

Hi @swirt,

It was miss from phpcs bug. But here in this MR I have resolved. Thanks!

swirt’s picture

Fantastic work @nidhi27. This works better than I imagined it would. Very well done and thank you for this contribution.

swirt’s picture

nidhi27’s picture

Status: Needs review » Fixed
swirt’s picture

Status: Fixed » Closed (fixed)

This went out with release 1.0.35