hook_help: Provide online user help.


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /**
  2. * Implement hook_help().
  3. */
  4. function [[Module Name]]_help($path, $arg) {
  5. if ($path == 'admin/help#[[Module Name]]') {
  6. return t([[Help Text');
  7. }
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.