0

I have created an help page for my module

function amu_hal_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.amu_hal':
       return 'some content';
  }
}

This does create a page at

/fr/admin/help/amu_hal

How can add the correspondong link on main help page

/fr/admin/help

2
  • 1
    Easiest always is to just look how other modules are doing it.
    – leymannx
    Commented Sep 10, 2018 at 16:11
  • what if i did not find how ? can i still ask the question?
    – Matoeil
    Commented Sep 11, 2018 at 12:53

1 Answer 1

1

i found out that the code above create automatically a link in the main help page, as long as the .info file indicate

name: AMU HAL

and not

name: 'AMU HAL'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.