function _coder_review_7x_theme_page_warning in Coder 7
1 string reference to '_coder_review_7x_theme_page_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 1873 - This include file implements coder functionality for 6.x -> 7.x upgrades.
Code
function _coder_review_7x_theme_page_warning() {
return array(
'#warning' => t('Instead of "theme(\'page\')" use !drupal_set_page_content()', array(
'!drupal_set_page_content()' => theme('drupalapi', array(
'function' => 'drupal_set_page_content',
'version' => 7,
)),
)),
'#link' => 'http://drupal.org/node/224333#theme_page',
);
}