function properties_generate_form_submit in Dynamic properties 7
Submit callback for generating properties.
File
- properties_generate/
properties_generate.module, line 50
Code
function properties_generate_form_submit($form, &$form_state) {
module_load_include('inc', 'devel_generate');
properties_generate_generate($form_state['values']['num_categories'], $form_state['values']['num_attributes'], $form_state['values']['kill']);
drupal_set_message(t('Properties generated.'));
}