function panels_vid_settings_form in Panels 6.2
Same name and namespace in other branches
- 5.2 arguments/vid.inc \panels_vid_settings_form()
Settings form for the argument
1 string reference to 'panels_vid_settings_form'
- panels_vid_panels_arguments in arguments/
vid.inc - @file arguments/vid.inc
File
- arguments/
vid.inc, line 50 - arguments/vid.inc
Code
function panels_vid_settings_form($conf) {
$options = array();
foreach (taxonomy_get_vocabularies() as $vid => $voc) {
$options[$vid] = $voc->name;
}
$form['displays'] = array(
'#title' => t('Own display'),
'#type' => 'checkboxes',
'#options' => $options,
'#default_value' => $conf['displays'],
'#description' => t('Each checked vocabulary will get its own special display to layout its content.'),
'#prefix' => '<div class="clear-block">',
'#suffix' => '</div>',
);
return $form;
}