function _coder_review_7x_drupal_add_js_external_warning in Coder 7
1 string reference to '_coder_review_7x_drupal_add_js_external_warning'
- coder_review_7x_reviews in coder_review/
includes/ coder_review_7x.inc - Implements hook_reviews().
File
- coder_review/
includes/ coder_review_7x.inc, line 1942 - This include file implements coder functionality for 6.x -> 7.x upgrades.
Code
function _coder_review_7x_drupal_add_js_external_warning() {
return array(
'#warning' => t('External JavaScript can now be referenced through !drupal_add_js().', array(
'!drupal_add_js()' => theme('drupalapi', array(
'function' => 'drupal_add_js',
'version' => 7,
)),
)),
'#link' => 'http://drupal.org/node/224333#drupal_add_js_external',
);
}