You are here

function fastly_vcl_upload_form_submit in Fastly 7.2

Implements hook_form_submit().

File

./fastly.admin.inc, line 543
Administrative forms for Fastly module.

Code

function fastly_vcl_upload_form_submit($form, &$form_state) {
  $vcl = fastly_get_vcl();
  $activate = $form_state['values']['activate'];
  $vcl
    ->execute($activate);
}