You are here

function fastly_webhook_form_submit in Fastly 7.2

Save form variables

_state

Parameters

$form:

File

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

Code

function fastly_webhook_form_submit(&$form, &$form_state) {
  variable_set('fastly_webhook_url', $form_state['values']['fastly_webhook_url']);
  variable_set('fastly_webhook_events', $form_state['values']['fastly_webhook_events']);
}