Problem/Motivation

Provide convenient administration links for accessing Content Studio and starting content type generation directly from the Content types page.

Steps to reproduce

  1. Enable the Content Studio module on Drupal 11.
  2. Check the Structure administration menu for a Content Studio link.
  3. Open Structure → Content types and check for a content generation action.

Proposed resolution

  • Add a Content Studio menu link under Structure using content_studio.links.menu.yml.
  • Add a Generate content type from JSON action to the Content types page using content_studio.links.action.yml.

Remaining tasks

  • Review the implementation.
  • Verify both links in the Drupal administration UI.

User interface changes

  • Add Structure → Content Studio.
  • Add Generate content type from JSON to the Content types administration page.

API changes

None

Data model changes

None

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

gokulg created an issue. See original summary.

gokulg’s picture

Assigned: gokulg » Unassigned
Status: Active » Needs review

The changes for this issue have been submitted in a Merge Request.

Changes implemented:

  1. Added a Content Studio menu link under Structure.
  2. Added a “Generate content type from JSON” action to the Content types administration page.

Testing performed:

  1. Verified that Structure → Content Studio appears in the administration menu.
  2. Verified that the Generate content type from JSON action appears on the Content types page.
  3. Confirmed that both links open the Content Studio upload page.

Merge Request: MR !3