Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Change the hook_menu for a configuration file.
Comment | File | Size | Author |
---|---|---|---|
#4 | issue.png | 15.34 KB | krina.addweb |
#2 | create-access-menu-3049117-2.patch | 2.61 KB | davidjguru |
Comments
Comment #2
davidjguruWell, I've created a small patch that establishes access through the Settings menu, in the "Search and metadata" zone.
I have also removed the hook_requirements( ), because in Drupal 8 Clean URLs are enabled by default.
Comment #3
davidjguruComment #4
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commented@davidjguru, thanks for adding patch, but while checking your patch I faced the encountered error could you please help me out by resolving it.
I simply access the page from the configuration. I used simplytest.me to test. Thanks!.
Comment #5
davidjguruHi @krina.addweb,
Well, I'm working in the module step by step and the patch is only for the routing / menu connection.
That error is due the module code from the form is waiting for migration. I'm working on it now.
It will be soon.
Greetings.
Comment #6
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commentedOkay Thanks for the update @davidjguru
Comment #7
pcambraWhy are we removing this? the clean urls are still required for the module, aren't they?Ah, https://www.drupal.org/docs/8/clean-urls-in-drupal-8/fix-drupal-8-clean-... :)
Comment #8
pcambraComment #10
pcambraMany thanks @davidjguru, merged in!