You are here

function coder_upgrade_css_weight in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_upgrade/conversions/call.inc \coder_upgrade_css_weight()

Returns the new css weight parameter.

Parameters

string $type:

Return value

string

1 call to coder_upgrade_css_weight()
coder_upgrade_upgrade_call_drupal_add_css_alter in coder_upgrade/conversions/call.inc
Implements hook_upgrade_call_drupal_add_css_alter().

File

coder_upgrade/conversions/call.inc, line 703
Provides conversion routines applied to function calls.

Code

function coder_upgrade_css_weight($type) {
  switch ($type) {
    case 'module':
      return 'CSS_DEFAULT';
    case 'theme':
      return 'CSS_THEME';
    default:
      return 'CSS_DEFAULT';
  }
}