function simple_access_views_plugin_group::options_form in Simple Access 6.2
Same name and namespace in other branches
- 7.2 views/simple_access_views_plugin_group.inc \simple_access_views_plugin_group::options_form()
File
- views/
simple_access_views_plugin_group.inc, line 35
Class
Code
function options_form(&$form, &$form_state) {
$options = array_map(array(
'simple_access_views_plugin_group',
'_map_groups',
), simple_access_get_groups());
$form['groups'] = array(
'#type' => 'checkboxes',
'#title' => t('Simple access groups'),
'#default_value' => $this->options['groups'],
'#options' => $options,
'#description' => t('Only the checked simple access groups will be able to access this display. Note that users with "access all views" can see any view, regardless of role.'),
);
}