You are here

function _coder_50_drupal_call_js_warning in Coder 6.2

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

File

includes/coder_50.inc, line 147
This include file implements coder functionality for 4.7 -> 5.x upgrades.

Code

function _coder_50_drupal_call_js_warning() {
  return t('Remove !drupal_call_js(), use "!drupal_add_js(\'myCustomFunction(your, parameters, here)\', \'inline\');" instead', array(
    '!drupal_call_js' => theme('drupalapi', 'drupal_call_js', '4.7'),
    '!drupal_add_js' => theme('drupalapi', 'drupal_add_js', '5'),
  ));
}