function fastly_setup_form_submit in Fastly 7
Same name and namespace in other branches
- 7.2 fastly.admin.inc \fastly_setup_form_submit()
Implements hook_form_submit().
1 string reference to 'fastly_setup_form_submit'
- fastly_setup_form in ./
fastly.admin.inc - Settings form.
File
- ./
fastly.admin.inc, line 305 - Administrative forms for Fastly module.
Code
function fastly_setup_form_submit($form, &$form_state) {
$api = fastly_get_api();
$api
->updateSettings(array(
'general.default_ttl' => $form_state['values']['fastly_ttl'],
));
}