You are here

function asin_devel_generate_set_values in Amazon Product Advertisement API 7.2

Same name and namespace in other branches
  1. 6 asin/asin.module \asin_devel_generate_set_values()
  2. 7 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 556
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']);
}