function _coder_review_7x_drupal_clone_warning in Coder 7
1 string reference to '_coder_review_7x_drupal_clone_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 1217 - This include file implements coder functionality for 6.x -> 7.x upgrades.
Code
function _coder_review_7x_drupal_clone_warning() {
return array(
'#warning' => t('!drupal_clone() has been removed and the PHP 5 !clone should be used instead.', array(
'!drupal_clone' => theme('drupalapi', array(
'function' => 'drupal_clone',
'version' => '6',
)),
'!clone' => l(t('!clone', array(
'!clone' => 'clone',
)), 'http://us.php.net/language.oop5.cloning'),
)),
'#link' => 'http://drupal.org/node/224333#drupal_clone',
);
}