You are here

function _coder_6x_hook_theme_warning in Coder 5

Same name and namespace in other branches
  1. 5.2 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

File

includes/coder_6x.inc, line 303
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'),
    )),
    '#link' => 'http://drupal.org/node/114774#theme_registry',
  );
}