function crossdomain_form_submit in Crossdomain 7
Final submit handler.
Reports what values were finally set.
File
- ./
crossdomain.admin.inc, line 127
Code
function crossdomain_form_submit($form, &$form_state) {
// Loop through domains and set our variable.
$items = array();
foreach ($form_state['values']['domains_fieldset']['element'] as $field) {
if (!empty($field['domain'])) {
$items[] = $field['domain'];
}
}
variable_set('crossdomain', $items);
}