You are here

function ctools_terms_settings_form in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 plugins/arguments/terms.inc \ctools_terms_settings_form()

Settings form for the argument

1 string reference to 'ctools_terms_settings_form'
terms.inc in plugins/arguments/terms.inc
Plugin to provide an argument handler for a Taxonomy term

File

plugins/arguments/terms.inc, line 50
Plugin to provide an argument handler for a Taxonomy term

Code

function ctools_terms_settings_form(&$form, &$form_state, $conf) {
  $form['settings']['breadcrumb'] = array(
    '#title' => t('Inject hierarchy of first term into breadcrumb trail'),
    '#type' => 'checkbox',
    '#default_value' => !empty($conf['breadcrumb']),
    '#description' => t('If checked, taxonomy term parents will appear in the breadcrumb trail.'),
  );
}