You are here

function tvi_settings_form in Taxonomy Views Integrator 6

Same name and namespace in other branches
  1. 7 includes/tvi.admin.inc \tvi_settings_form()

Form builder for the tvi_settings_form() form.

Related topics

1 string reference to 'tvi_settings_form'
tvi_menu in ./tvi.module
Implements hook_menu().

File

includes/tvi.admin.inc, line 36
TVI Administration Interface

Code

function tvi_settings_form($form_state) {
  $form = array();
  $form['tvi_default_view_skip'] = array(
    '#type' => 'checkbox',
    '#title' => t('Disable search for default view'),
    '#default_value' => variable_get('tvi_default_view_skip', 0),
    '#description' => t('When there is no view specified for a given term and vocabulary, TVI tries to find a view whose arguments are matching with taxonomy terms. If you have such a view but want to use the default taxonomy page, please enable this checkbox.'),
  );
  return system_settings_form($form);
}