Révision 76e2e7c3
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/flag/plugins/access/flag_is_flagged/flag_is_flagged.inc | ||
---|---|---|
31 | 31 |
|
32 | 32 |
foreach ($entities as $entity_type => $info) { |
33 | 33 |
if (entity_type_supports($entity_type, 'view')) { |
34 |
$plugin['title'] = t('@entity_type is flagged', array('@entity_type' => $info['label']));
|
|
34 |
$plugin['title'] = t('@entity_type is flagged', array('@entity_type' => $info['label'])); |
|
35 | 35 |
$plugin['keyword'] = $entity_type; |
36 | 36 |
$plugin['name'] = $parent . ':' . $entity_type; |
37 | 37 |
$plugin['required context'] = new ctools_context_required(t('Entity'), $entity_type); |
... | ... | |
103 | 103 |
} |
104 | 104 |
|
105 | 105 |
/** |
106 |
* Provide a summary description based upon the specified context |
|
106 |
* Provide a summary description based upon the specified context.
|
|
107 | 107 |
*/ |
108 | 108 |
function flag_flag_is_flagged_access_summary($conf, $context) { |
109 | 109 |
$flag = flag_get_flag($conf['flag_name']); |
Formats disponibles : Unified diff
Weekly update of contrib modules