function _coder_6x_taxonomy_get_vocabulary_warning in Coder 5.2
Same name and namespace in other branches
- 6.2 includes/coder_6x.inc \_coder_6x_taxonomy_get_vocabulary_warning()
- 6 includes/coder_6x.inc \_coder_6x_taxonomy_get_vocabulary_warning()
1 string reference to '_coder_6x_taxonomy_get_vocabulary_warning'
- coder_6x_reviews in includes/
coder_6x.inc - Implementation of hook_reviews().
File
- includes/
coder_6x.inc, line 921 - This include file implements coder functionality for 5.x -> 6.x upgrades.
Code
function _coder_6x_taxonomy_get_vocabulary_warning() {
return array(
'#warning' => t('!taxonomy_get_vocabulary() is deprecated. Use !taxonomy_vocabulary_load() instead.', array(
'!taxonomy_get_vocabulary' => theme('drupalapi', 'taxonomy_get_vocabulary', '5'),
'!taxonomy_vocabulary_load' => theme('drupalapi', 'taxonomy_vocabulary_load', '6'),
)),
'#link' => 'http://drupal.org/node/114774#taxonomy-load',
);
}