Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/arguments/terms.inc
2 2

  
3 3
/**
4 4
 * @file
5
 *
6
 * Plugin to provide an argument handler for a Taxonomy term
5
 * Plugin to provide an argument handler for a Taxonomy term.
7 6
 */
8 7

  
9 8
/**
......
12 11
 */
13 12
$plugin = array(
14 13
  'title' => t("Taxonomy term (multiple): ID"),
15
  // keyword to use for %substitution
14
  // Keyword to use for %substitution.
16 15
  'keyword' => 'term',
17 16
  'description' => t('Creates a group of taxonomy terms from a list of tids separated by a comma or a plus sign. In general the first term of the list will be used for panes.'),
18 17
  'context' => 'ctools_terms_context',
......
45 44
}
46 45

  
47 46
/**
48
 * Settings form for the argument
47
 * Settings form for the argument.
49 48
 */
50 49
function ctools_terms_settings_form(&$form, &$form_state, $conf) {
51 50
  $form['settings']['breadcrumb'] = array(
......
54 53
    '#default_value' => !empty($conf['breadcrumb']),
55 54
    '#description' => t('If checked, taxonomy term parents will appear in the breadcrumb trail.'),
56 55
  );
57
//  return $form;
58 56
}
59 57

  
60 58
/**

Formats disponibles : Unified diff