function javascript_libraries_default_form_submit in JavaScript Libraries Manager 7
Form submit function for page callback.
File
- ./
javascript_libraries.admin.inc, line 122 - Administrative management forms for JavaScript libraries.
Code
function javascript_libraries_default_form_submit($form, &$form_state) {
$library_states = array_filter($form_state['values']['enable']);
// Save the values from the default library form.
variable_set('javascript_libraries_drupal_libraries', $library_states);
drupal_set_message(t('Your settings have been saved.'));
}