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/access/term_vocabulary.inc
2 2

  
3 3
/**
4 4
 * @file
5
 * Plugin to provide access control based upon term vocabulary
5
 * Plugin to provide access control based upon term vocabulary.
6 6
 */
7 7

  
8 8
/**
......
20 20
  'required context' => new ctools_context_required(t('Vocabulary'), array(
21 21
    'taxonomy_term',
22 22
    'terms',
23
    'taxonomy_vocabulary'
23
    'taxonomy_vocabulary',
24 24
  )),
25 25
);
26 26

  
27 27
/**
28
 * Settings form for the 'by term_vocabulary' access plugin
28
 * Settings form for the 'by term_vocabulary' access plugin.
29 29
 */
30 30
function ctools_term_vocabulary_ctools_access_settings($form, &$form_state, $conf) {
31 31
  $options = array();
......
101 101

  
102 102
  return format_plural(count($names), '@identifier vocabulary is "@machine_names"', '@identifier vocabulary is one of "@machine_names"', array(
103 103
    '@machine_names' => implode(', ', $names),
104
    '@identifier' => $context->identifier
104
    '@identifier' => $context->identifier,
105 105
  ));
106 106
}
107 107

  
......
123 123
    }
124 124
  }
125 125
}
126

  
127

  

Formats disponibles : Unified diff