Problem/Motivation

The setting says "Show the View API documentation link in bundle entity operations", but WebapiHooks::entityOperation() adds the link to every entity: each row of /admin/structure/menu and of /admin/content lists View API documentation.

Steps to reproduce

  1. Open /admin/structure/menu as an administrator.
  2. Each menu row offers View API documentation.

Proposed resolution

Add the link only for entities whose type is the bundle of another entity type, such as content types and vocabularies.

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • Only bundle entities list View API documentation.

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • fix: Offer View API documentation on bundle entities only

AI-Generated: Yes

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed eb41903c on 1.0.x
    fix: #3637726 Offer View API documentation on bundle entities only
    
    The...
rajab natshah’s picture

Issue summary: View changes
Status: Active » Fixed

Merged in !8, pipeline 1044441.

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.

rajab natshah’s picture

✅ Released webapi 1.0.2