| 85 |
function views_checkboxes_form_alter($form_id, &$form) { |
function views_checkboxes_form_alter($form_id, &$form) { |
| 86 |
|
|
| 87 |
// Views which have exposed filters get a $form_id of 'views_filters' |
// Views which have exposed filters get a $form_id of 'views_filters' |
| 88 |
if ($form_id != 'views_filters') return; // Not a Views filter, quick exit |
// With Views_Filterblock module installed, $form_id can be 'views_filterblock' |
| 89 |
|
if ($form_id != 'views_filters' && $form_id != 'views_filterblock') return; |
| 90 |
|
|
| 91 |
// Get configuration values... |
// Get configuration values... |
| 92 |
$limit = variable_get('views_checkboxes_limit', 5); |
$limit = variable_get('views_checkboxes_limit', 5); |