You are here

function module_builder_code_hook_doxy in Module Builder 7

Same name and namespace in other branches
  1. 6.2 includes/generate.inc \module_builder_code_hook_doxy()

Get the doxygen header for a given hook. This does not return with an initial newline so the doc block may be inserted into existing code.

Parameters

The long hook name, eg 'hook_menu'.:

1 call to module_builder_code_hook_doxy()
module_builder_generate_module in includes/generate.inc
Generate module code.

File

includes/generate.inc, line 122
Module builder code generating code.

Code

function module_builder_code_hook_doxy($hook_name) {
  return <<<EOT
/**
 * Implementation of {<span class="php-variable">$hook_name</span>}().
 */

EOT;
}