$ruleset) { if (count($ruleset['arguments']) == 1) { // For now, we only accept rulesets with one parameter (taken to be the 'type') $arg = key($ruleset['arguments']); $actions["views_bulk_operations_ruleset_action_{$ruleset_key}"] = array( 'type' => $ruleset['arguments'][$arg]['type'], 'parameters' => array('ruleset' => $ruleset_key), 'description' => $ruleset['label'], 'configurable' => FALSE, 'rules_ignore' => TRUE, ); eval(<<