You are here

function cloudflare_admin_submit in CloudFlare 6

Same name and namespace in other branches
  1. 7.2 cloudflare.module \cloudflare_admin_submit()
  2. 7 cloudflare.module \cloudflare_admin_submit()

File

./cloudflare.module, line 47

Code

function cloudflare_admin_submit($form, &$form_state) {
  $form_values = $form_state['values'];
  variable_set('cloudflare_api_email', $form_values['api_email']);
  variable_set('cloudflare_api_key', $form_values['api_key']);
}