function popup_block_form_submit in Popup 6.x
Same name and namespace in other branches
- 8 modules/popup_block/popup_block.module \popup_block_form_submit()
- 7 modules/popup_block/popup_block.module \popup_block_form_submit()
- 7.x modules/popup_block/popup_block.module \popup_block_form_submit()
1 string reference to 'popup_block_form_submit'
- popup_block_form_alter in modules/
popup_block/ popup_block.module - Implementation of hook_form_alter Adds UI settings to block configuration
File
- modules/
popup_block/ popup_block.module, line 106
Code
function popup_block_form_submit(&$form, &$form_state) {
$settings = _popup_block_settings();
$values = $form_state['values'];
$settings[$values['module'] . ':' . $values['delta']] = array(
'active' => $values['popup-block'],
'format' => $values['popup-block-format'],
);
_popup_block_settings($settings);
}