You are here

function panels_context_term_settings_form in Panels 5.2

Same name and namespace in other branches
  1. 6.2 contexts/term.inc \panels_context_term_settings_form()
1 string reference to 'panels_context_term_settings_form'
panels_term_panels_contexts in contexts/term.inc
@file contexts/term.inc

File

contexts/term.inc, line 48
contexts/term.inc

Code

function panels_context_term_settings_form($conf, $external = FALSE) {
  $form = array();
  if ($external) {
    $form['external'] = array(
      '#type' => 'checkbox',
      '#default_value' => $conf['external'],
      '#title' => t('Require this context from an external source (such as a containing panel page).'),
      '#description' => t('If selected, term selection (below) will be ignored'),
    );
  }
  return $form;
}