You are here

function views_bulk_operations_profile_action_submit in Views Bulk Operations (VBO) 6.3

Same name and namespace in other branches
  1. 6 actions/profile.action.inc \views_bulk_operations_profile_action_submit()

File

./profile.action.inc, line 86

Code

function views_bulk_operations_profile_action_submit($form, $form_state) {
  $return = array();
  foreach (profile_categories() as $category) {
    $fields = _profile_get_fields($category['name']);
    while ($field = db_fetch_object($fields)) {
      $return[$field->name . '_check'] = $form_state['values'][$field->name . '_check'];
      $return[$field->name] = $form_state['values'][$field->name];
    }
  }
  return $return;
}