You are here

function cer_weight_options in Corresponding Entity References 7.3

Returns options for the cer_weight field.

1 string reference to 'cer_weight_options'
_cer_field_definitions in ./cer.install
Contains the default field definitions for presets.

File

./cer.module, line 295

Code

function cer_weight_options() {
  $options = array();
  for ($i = -50; $i <= 50; $i++) {
    $options[$i] = $i;
  }
  return $options;
}