You are here

function node_variable_option_text_length in Variable 7.2

Same name and namespace in other branches
  1. 7 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('@count characters', array(
      '@count' => 200,
    ), $options),
    400 => t('@count characters', array(
      '@count' => 400,
    ), $options),
    600 => t('@count characters', array(
      '@count' => 600,
    ), $options),
    800 => t('@count characters', array(
      '@count' => 800,
    ), $options),
    1000 => t('@count characters', array(
      '@count' => 1000,
    ), $options),
    1200 => t('@count characters', array(
      '@count' => 1200,
    ), $options),
    1400 => t('@count characters', array(
      '@count' => 1400,
    ), $options),
    1600 => t('@count characters', array(
      '@count' => 1600,
    ), $options),
    1800 => t('@count characters', array(
      '@count' => 1800,
    ), $options),
    2000 => t('@count characters', array(
      '@count' => 2000,
    ), $options),
  );
}