function _coder_6x_menu_get_object_warning in Coder 6
Same name and namespace in other branches
- 5.2 includes/coder_6x.inc \_coder_6x_menu_get_object_warning()
- 6.2 includes/coder_6x.inc \_coder_6x_menu_get_object_warning()
1 string reference to '_coder_6x_menu_get_object_warning'
- coder_6x_reviews in includes/
coder_6x.inc - Implementation of hook_reviews().
File
- includes/
coder_6x.inc, line 1271 - This include file implements coder functionality for 5.x -> 6.x upgrades.
Code
function _coder_6x_menu_get_object_warning() {
return array(
'#warning' => t('Use !menu_get_object() to get an object based on your path', array(
'!menu_get_object' => theme('drupalapi', 'menu_get_object', '6'),
)),
'#link' => 'http://drupal.org/node/114774#menu_get_object',
);
}