You are here

function locale_variable_language_default_format in Variable 7

Same name and namespace in other branches
  1. 7.2 includes/locale.variable.inc \locale_variable_language_default_format()

Format language object variable

1 string reference to 'locale_variable_language_default_format'
locale_variable_info in includes/locale.variable.inc
Implements hook_variable_info().

File

includes/locale.variable.inc, line 76
Variable API module. Definition for Drupal core variables

Code

function locale_variable_language_default_format($variable, $options = array()) {
  return !empty($variable['value']) ? check_plain($variable['value']->name) : t('None');
}