function node_variable_option_text_length in Variable 7
Same name and namespace in other branches
- 7.2 includes/node.variable.inc \node_variable_option_text_length()
Callback for node variable options
1 string reference to 'node_variable_option_text_length'
- node_variable_type_info in includes/
node.variable.inc - Implements hook_variable_type_info()
File
- includes/
node.variable.inc, line 92 - Variable API module. Definition for Drupal core variables
Code
function node_variable_option_text_length($variable, $options = array()) {
return array(
0 => t('Unlimited', array(), $options),
200 => t('200 characters', array(), $options),
400 => t('400 characters', array(), $options),
600 => t('600 characters', array(), $options),
800 => t('800 characters', array(), $options),
1000 => t('1000 characters', array(), $options),
1200 => t('1200 characters', array(), $options),
1400 => t('1400 characters', array(), $options),
1600 => t('1600 characters', array(), $options),
1800 => t('1800 characters', array(), $options),
2000 => t('2000 characters', array(), $options),
);
}