function twitter_block_content_type_edit_form_submit in Twitter Block 6
Same name and namespace in other branches
- 7 plugins/content_types/twitter_block.inc \twitter_block_content_type_edit_form_submit()
Block config submit handler.
File
- plugins/
content_types/ twitter_block.inc, line 76 - Ctools content type plugin that shows a Twitter Block.
Code
function twitter_block_content_type_edit_form_submit($form, &$form_state) {
foreach (array(
'search_string',
'search_type',
'lang',
'results_per_page',
) as $key) {
$form_state['conf'][$key] = $form_state['values'][$key];
}
}