You are here

function _coder_6x_taxonomy_node_get_terms_warning in Coder 6.2

Same name and namespace in other branches
  1. 5.2 includes/coder_6x.inc \_coder_6x_taxonomy_node_get_terms_warning()
  2. 5 includes/coder_6x.inc \_coder_6x_taxonomy_node_get_terms_warning()
  3. 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
Implementation of hook_reviews().

File

includes/coder_6x.inc, line 676
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(), !taxonomy_node_save 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', '6'),
      '!taxonomy_node_get_terms_by_vocabulary' => theme('drupalapi', 'taxonomy_node_get_terms_by_vocabulary', '6'),
      '!taxonomy_node_save' => theme('drupalapi', 'taxonomy_node_save', '6'),
      '!taxonomy_node_delete' => theme('drupalapi', 'taxonomy_node_delete', '6'),
    )),
    '#link' => 'http://drupal.org/node/114774#taxonomy-revisions',
  );
}