function radioactivity_node_views_handler_sort_left_or_inner::options_form in Radioactivity 6
File
- plugins/
radioactivity_node_views_handler_sort_left_or_inner.inc, line 53 - Node radioactivity views handler to allow choosing between LEFT or INNER joining.
Class
- radioactivity_node_views_handler_sort_left_or_inner
- @file Node radioactivity views handler to allow choosing between LEFT or INNER joining.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['join_type'] = array(
'#type' => 'radios',
'#title' => t('Join type'),
'#options' => array(
'left' => t('LEFT JOIN: Include all ' . $this
->radioactivity_object_type_in_plural()),
'inner' => t('INNER JOIN: Include only ' . $this
->radioactivity_object_type_in_plural() . ' that have radioactivity data (faster)'),
),
'#description' => t('Select the join type for sorting.'),
'#default_value' => $this->options['join_type'],
);
}