function _coder_50_drupal_call_js_warning in Coder 5
Same name and namespace in other branches
- 5.2 includes/coder_50.inc \_coder_50_drupal_call_js_warning()
- 6.2 includes/coder_50.inc \_coder_50_drupal_call_js_warning()
- 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 - @file This include file implements coder functionality for 4.7 -> 5.0 upgrades
File
- includes/
coder_50.inc, line 135 - This include file implements coder functionality for 4.7 -> 5.0 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'),
));
}