You are here

constant DRUPAL_WEIGHT_SELECT_MAX in Drupal 7

Maximum number of values in a weight select element.

If the number of values is over the maximum, a text field is used instead.

1 use of DRUPAL_WEIGHT_SELECT_MAX
form_process_weight in includes/form.inc
Expands a weight element into a select element.

File

modules/system/system.module, line 53
Configuration system that lets administrators modify the workings of the site.

Code

define('DRUPAL_WEIGHT_SELECT_MAX', 100);