function _coder_6x_taxonomy_node_get_terms_warning in Coder 5
Same name and namespace in other branches
- 5.2 includes/coder_6x.inc \_coder_6x_taxonomy_node_get_terms_warning()
- 6.2 includes/coder_6x.inc \_coder_6x_taxonomy_node_get_terms_warning()
- 6 includes/coder_6x.inc \_coder_6x_taxonomy_node_get_terms_warning()
1 string reference to '_coder_6x_taxonomy_node_get_terms_warning'
- coder_6x_reviews in includes/
coder_6x.inc - @file This include file implements coder functionality for 5.x -> 6.x upgrades
File
- includes/
coder_6x.inc, line 327 - This include file implements coder functionality for 5.x -> 6.x upgrades
Code
function _coder_6x_taxonomy_node_get_terms_warning() {
return array(
'#warning' => t('!taxonomy_node_get_terms(), !taxonomy_node_get_terms_by_vocabulary(), and !taxonomy_node_delete() now take a full $node object, not just a nid (node id).', array(
'!taxonomy_node_get_terms' => theme('drupalapi', 'taxonomy_node_get_terms'),
'!taxonomy_node_get_terms_by_vocabulary' => theme('drupalapi', 'taxonomy_node_get_terms_by_vocabulary'),
'!taxonomy_node_delete' => theme('drupalapi', 'taxonomy_node_delete'),
)),
'#link' => 'http://drupal.org/node/114774#taxonomy-revisions',
);
}