In Drupal8 menu links are defined in static .yml files see the CR https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-menu-link-of-the-module-settings-page-3050418-2.patch | 354 bytes | amarphule |
In Drupal8 menu links are defined in static .yml files see the CR https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-menu-link-of-the-module-settings-page-3050418-2.patch | 354 bytes | amarphule |
Comments
Comment #2
amarphule commentedCreated a menu link of the module setting page ap per CR https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link
In Drupal 8 there are separate .yml files for the menu links https://www.drupal.org/docs/8/api/menu-api/providing-module-defined-menu...
Comment #3
krina.addweb commented@amarphule, Thanks for your efforts. I checked your patch and found that the menu link to the module settings page should be under Development section of the Admin > Configuration as per CR https://www.drupal.org/docs/8/creating-custom-modules/add-a-menu-link. Currently, it is under the Content Authoring section. PFA. Please correct if I am wrong.
Comment #4
amarphule commented@krina.addweb, I had a discussion with maintainers and we packaged this module to Content. Moreover, Hypothesis is related to content annotation and sharing so this should go under
system.admin_config_content.Comment #5
satyanarayan reddy commentedMenu under Development section
Comment #6
bramdriesenPatch from #5 is not okay.
Patch from #2 is good.
I agree with the placement under Content Authoring, this is not a Development module.
Comment #7
bramdriesenComment #10
rahul.shindeMerged the patch.
Comment #11
rahul.shindeChanging status to Fixed.