function views_ui_reorder in Views (for Drupal 7) 5
1 call to views_ui_reorder()
- views_edit_view_submit in ./
views_ui.module - Handle submit buttons on a view form.
File
- ./
views_ui.module, line 1818
Code
function views_ui_reorder(&$view) {
// re-order things as they were ordered on the form.
$order = $view['order'] != '' ? explode(',', $view['order']) : array();
foreach ($order as $position => $key) {
$placeholder[] = $view[$key];
}
$view = $placeholder;
}