function rules_action_data_create_array

Creation callback for array structured data.

Related topics

1 string reference to 'rules_action_data_create_array'
rules_test_rules_data_info_alter in tests/rules_test.rules.inc
Implements hook_rules_data_info_alter().

File

modules/data.eval.inc, line 348

Code

function rules_action_data_create_array($values, $type) {
    // $values is an array already, so we can just pass it to the wrapper.
    return rules_wrap_data($values, array(
        'type' => $type,
    ));
}