function rules_action_data_convert_rounding_behavior_options

Data conversation action: Options list callback for rounding behavior.

Related topics

1 string reference to 'rules_action_data_convert_rounding_behavior_options'
rules_action_data_convert_info_alter in modules/data.eval.inc
Info alteration callback for variable add action.

File

modules/data.rules.inc, line 259

Code

function rules_action_data_convert_rounding_behavior_options(RulesPlugin $element, $param_name) {
    return array(
        'down' => t('Always down (9.5 -> 9)'),
        'round' => t('Round, half up (9.5 -> 10)'),
        'up' => t('Always up (9.5 -> 10)'),
    );
}