You are here

function _coder_6x_hook_theme_warning in Coder 5.2

Same name and namespace in other branches
  1. 5 includes/coder_6x.inc \_coder_6x_hook_theme_warning()
  2. 6.2 includes/coder_6x.inc \_coder_6x_hook_theme_warning()
  3. 6 includes/coder_6x.inc \_coder_6x_hook_theme_warning()
1 call to _coder_6x_hook_theme_warning()
_coder_6x_callback in includes/coder_6x.inc
Define the rule callbacks for 6.x, see do_coder_review_callback().

File

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

Code

function _coder_6x_hook_theme_warning() {
  return array(
    '#warning' => t('new !hook_theme() function is required to register theme_ functions', array(
      '!hook_theme' => theme('drupalapi', 'hook_theme', '6'),
    )),
    '#link' => 'http://drupal.org/node/114774#theme_registry',
  );
}