function asin_devel_generate_set_values in Amazon Product Advertisement API 7
Same name and namespace in other branches
- 6 asin/asin.module \asin_devel_generate_set_values()
- 7.2 asin/asin.module \asin_devel_generate_set_values()
1 string reference to 'asin_devel_generate_set_values'
- asin_form_devel_generate_content_form_alter in asin/
asin.module - Allow selection of the SearchIndex and Keywords to be used
File
- asin/
asin.module, line 491 - Defines a field type for referencing an Amazon product.
Code
function asin_devel_generate_set_values($form, &$form_state) {
variable_set('asin_devel_generate_keywords', $form_state['values']['asin_devel_generate_keywords']);
variable_set('asin_devel_generate_search_index', $form_state['values']['asin_devel_generate_search_index']);
}