You are here

function _coder_50_theme_add_style_warning in Coder 6.2

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

File

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

Code

function _coder_50_theme_add_style_warning() {
  return t('Replace !theme_add_style() with !drupal_add_css()', array(
    '!theme_add_style' => theme('drupalapi', 'theme_add_style', '4.7'),
    '!drupal_add_css' => theme('drupalapi', 'drupal_add_css', '5'),
  ));
}