You are here

function ctools_access_admin_form_submit in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context-access-admin.inc \ctools_access_admin_form_submit()
1 string reference to 'ctools_access_admin_form_submit'
ctools_access_admin_form in includes/context-access-admin.inc
Administrative form for access control.

File

includes/context-access-admin.inc, line 237
Contains administrative screens for the access control plugins.

Code

function ctools_access_admin_form_submit($form, &$form_state) {
  $form_state['access']['logic'] = $form_state['values']['logic'];
  $function = $form_state['module'] . '_ctools_access_clear';
  if (function_exists($function)) {
    $function($form_state['argument']);
  }
}