function _coder_6x_menu_set_location_warning in Coder 6
Same name and namespace in other branches
- 5.2 includes/coder_6x.inc \_coder_6x_menu_set_location_warning()
- 6.2 includes/coder_6x.inc \_coder_6x_menu_set_location_warning()
1 string reference to '_coder_6x_menu_set_location_warning'
- coder_6x_reviews in includes/
coder_6x.inc - Implementation of hook_reviews().
File
- includes/
coder_6x.inc, line 964 - This include file implements coder functionality for 5.x -> 6.x upgrades.
Code
function _coder_6x_menu_set_location_warning() {
return array(
'#warning' => t('!menu_set_location() is deprecated. Use !drupal_set_breadcrumb() to set a custom breadcrumb or !menu_set_item() to set the current location in the menu tree.', array(
'!menu_set_location' => theme('drupalapi', 'menu_set_location', '5'),
'!drupal_set_breadcrumb' => theme('drupalapi', 'drupal_set_breadcrumb', '6'),
'!menu_set_item' => theme('drupalapi', 'menu_set_item', '6'),
)),
'#link' => 'http://drupal.org/node/114774#menu_set_location',
);
}