You are here

function ctools_ajax_sample_configure_lizard_submit in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 ctools_ajax_sample/ctools_ajax_sample.module \ctools_ajax_sample_configure_lizard_submit()

Submit the lizard and store the values from the form.

File

ctools_ajax_sample/ctools_ajax_sample.module, line 578
Sample AJAX functionality so people can see some of the CTools AJAX features in use.

Code

function ctools_ajax_sample_configure_lizard_submit(&$form, &$form_state) {
  $form_state['object']->name = $form_state['values']['name'];
  $form_state['object']->lizard = $form_state['values']['lizard'];
}