You are here

public function simple_access_views_plugin_group::options_submit in Simple Access 7.2

Same name and namespace in other branches
  1. 6.2 views/simple_access_views_plugin_group.inc \simple_access_views_plugin_group::options_submit()

Submit the options form.

Overrides views_plugin_access::options_submit

File

views/simple_access_views_plugin_group.inc, line 85
Views access plugin to make use of cimple access.

Class

simple_access_views_plugin_group
@file Views access plugin to make use of cimple access.

Code

public function options_submit(&$form, &$form_state) {

  // I hate checkboxes.
  $form_state['values']['access_options']['groups'] = array_filter($form_state['values']['access_options']['groups']);
}