function faq_order_settings_choose_cat_form_submit in Frequently Asked Questions 8
Same name and namespace in other branches
- 6 faq.admin.inc \faq_order_settings_choose_cat_form_submit()
- 7.2 faq.admin.inc \faq_order_settings_choose_cat_form_submit()
- 7 faq.admin.inc \faq_order_settings_choose_cat_form_submit()
Function set the rebuild of the form in the FAQ Settings - Weight tab.
Parameters
$form: Array, containing the form structure.
&$form_state: The 'rebuild' key inside $form_state['rebuild'] structure, overrides the 'redirect' key: when it is set to TRUE, the form will be rebuilt from scratch and displayed on screen.
1 string reference to 'faq_order_settings_choose_cat_form_submit'
- OrderForm::buildForm in src/
Form/ OrderForm.php - Form constructor.
File
- ./
faq.module, line 178 - The FAQ module allows users to create a FAQ page, with questions and answers displayed in different styles, according to the settings.
Code
function faq_order_settings_choose_cat_form_submit($form, &$form_state) {
$form_state['rebuild'] = TRUE;
}