- Issue created by @Grevil
- 🇩🇪Germany Grevil
Just found this on the module page:
This module requires the following modules / libraries:
League Commonmark (Library)
ListJS (Module)
Please Note: You do not need to manually install these components as they will be installed automatically when installing Project Wiki.Please remove the "Please Note" part and instead make a comment for "ListJs" on how to require the list.js library via composer.
- @lrwebks opened merge request.
- 🇩🇪Germany lrwebks Porta Westfalica
Everything's done now, including a quick overhaul of the module page and READMEs. @Grevil for the review? Don't forget to also review my changes on the module page!
- 🇩🇪Germany lrwebks Porta Westfalica
Success! Found a helpful snippet in the help hook of the
Block
module:Url::fromRoute('help.page', ['name' => 'project_wiki'])->toString();
And that actually works. Apparently the routes from the help module are generated dynamically like:
help.page.{name}
and if we return the name of our module as parameter, it results in the route that we want!I (at least) am happy to have learned something new about the Drupal structure today! To review!
- 🇩🇪Germany Anybody Porta Westfalica
Really nice!! Thank you, let's merge this!
Automatically closed - issue fixed for 2 weeks with no activity.