function form_save_order in Sortable Grid Views Plugin 6
Build the form
1 string reference to 'form_save_order'
File
- ./
sgrid.module, line 21
Code
function form_save_order($form, $viewname) {
$form = array();
$form['viewdisplay'] = array(
'#type' => 'hidden',
'#value' => $viewname,
);
$form['itemsorder'] = array(
'#type' => 'textfield',
'#maxlength' => 1000,
'#attributes' => array(
'class' => 'sortorder',
),
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Save order'),
);
return $form;
}