You are here

function _draggableviews_field_get_minimum_value in DraggableViews 6

Same name and namespace in other branches
  1. 6.2 draggableviews.inc \_draggableviews_field_get_minimum_value()
1 call to _draggableviews_field_get_minimum_value()
draggableviews_view_draggabletable_form_submit in ./draggableviews.inc
Implementing hook_submit

File

./draggableviews.inc, line 463
Implements preprocess function hook_submit for draggable views

Code

function _draggableviews_field_get_minimum_value($field) {

  // get allowed values and return first element found
  $allowed_values = each(content_allowed_values($field->content_field));
  return $allowed_values['key'];
}