function og_plugin_argument_default_user_groups::options_form in Organic groups 7
Same name and namespace in other branches
- 7.2 includes/views/handlers/og_plugin_argument_default_user_groups.inc \og_plugin_argument_default_user_groups::options_form()
Provide the default form for setting options.
Overrides views_plugin_argument_default::options_form
File
- includes/
views/ og_plugin_argument_default_user_groups.inc, line 27 - Holds the class defining the Views plugin loading the groups the acting user is member of.
Class
- og_plugin_argument_default_user_groups
- The class defining the Views plugin loading the groups of the acting user.
Code
function options_form(&$form, &$form_state) {
$form['glue'] = array(
'#type' => 'select',
'#title' => t('Concatenator'),
'#description' => t('Select the concatenator used to merge multiple group IDs. Remember to turn on the "Allow multiple values" option in the "more" settings for this contextual filter.'),
'#options' => array(
'+' => '+',
',' => ',',
),
'#default_value' => $this->options['glue'],
);
}