You are here

function _coder_6x_format_plural_warning in Coder 5

Same name and namespace in other branches
  1. 5.2 includes/coder_6x.inc \_coder_6x_format_plural_warning()
  2. 6.2 includes/coder_6x.inc \_coder_6x_format_plural_warning()
  3. 6 includes/coder_6x.inc \_coder_6x_format_plural_warning()
1 string reference to '_coder_6x_format_plural_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 340
This include file implements coder functionality for 5.x -> 6.x upgrades

Code

function _coder_6x_format_plural_warning() {
  return array(
    '#warning' => t('!format_plural() accepts replacements, you no longer need to use !strtr', array(
      '!format_plural' => theme('drupalapi', 'format_plural'),
      '!strtr' => theme('phpapi', 'strtr'),
    )),
    '#link' => 'http://drupal.org/node/114774#format-plural',
  );
}