function _coder_6x_hook_help_warning in Coder 6
Same name and namespace in other branches
- 5.2 includes/coder_6x.inc \_coder_6x_hook_help_warning()
- 5 includes/coder_6x.inc \_coder_6x_hook_help_warning()
- 6.2 includes/coder_6x.inc \_coder_6x_hook_help_warning()
1 string reference to '_coder_6x_hook_help_warning'
- coder_6x_reviews in includes/
coder_6x.inc - Implementation of hook_reviews().
File
- includes/
coder_6x.inc, line 836 - This include file implements coder functionality for 5.x -> 6.x upgrades.
Code
function _coder_6x_hook_help_warning() {
return array(
'#warning' => t('The arguments to !hook_help() have changed', array(
'!hook_help' => theme('drupalapi', 'hook_help', '6'),
)),
'#link' => 'http://drupal.org/node/114774#hook-help',
'#description' => t('Change the first two lines to <code>function yourmodule_help($path, $arg) {' . "\n" . ' switch ($path) { ...</code>.'),
);
}