You are here

function _coder_6x_custom_url_rewrite_warning in Coder 6.2

Same name and namespace in other branches
  1. 5.2 includes/coder_6x.inc \_coder_6x_custom_url_rewrite_warning()
  2. 5 includes/coder_6x.inc \_coder_6x_custom_url_rewrite_warning()
  3. 6 includes/coder_6x.inc \_coder_6x_custom_url_rewrite_warning()
1 string reference to '_coder_6x_custom_url_rewrite_warning'
coder_6x_reviews in includes/coder_6x.inc
Implementation of hook_reviews().

File

includes/coder_6x.inc, line 828
This include file implements coder functionality for 5.x -> 6.x upgrades.

Code

function _coder_6x_custom_url_rewrite_warning() {
  return array(
    '#warning' => t('In place of !custom_url_rewrite(), use !custom_url_rewrite_inbound() or !custom_url_rewrite_outbound()', array(
      '!custom_url_rewrite' => theme('drupalapi', 'custom_url_rewrite', '5'),
      '!custom_url_rewrite_inbound' => theme('drupalapi', 'custom_url_rewrite_inbound', '6'),
      '!custom_url_rewrite_outbound' => theme('drupalapi', 'custom_url_rewrite_outbound', '6'),
    )),
    '#link' => 'http://drupal.org/node/114774#custom-url-rewrite',
  );
}