function finder_ui_item_form in Finder 7.2
Finder UI item form.
Parameters
$form: The form array.
&$form_state: The form state array.
Return value
The form array.
1 call to finder_ui_item_form()
- finder_ui_element_item_form in modules/
finder_ui/ includes/ element-item.inc - Finder UI element item form.
1 string reference to 'finder_ui_item_form'
- finder_ui_item_page in modules/
finder_ui/ includes/ item.inc - Finder UI item page.
File
- modules/
finder_ui/ includes/ item.inc, line 88
Code
function finder_ui_item_form($form, &$form_state) {
ctools_include('dependent');
$form['#tree'] = TRUE;
$form = array_merge($form, $form_state['item']['#form']);
$form['actions']['submit'] = array(
'#type' => 'submit',
'#value' => t('Apply'),
);
$form['actions']['cancel'] = array(
'#type' => 'submit',
'#value' => t('Cancel'),
);
$form['#pre_render'] = array(
'finder_ui_modal_form_pre_render',
);
return $form;
}