Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/modules/taxonomy/views_handler_argument_taxonomy.inc | ||
---|---|---|
15 | 15 |
/** |
16 | 16 |
* Override the behavior of title(). Get the title of the node. |
17 | 17 |
*/ |
18 |
function title() { |
|
18 |
public function title() {
|
|
19 | 19 |
// There might be no valid argument. |
20 | 20 |
if ($this->argument) { |
21 | 21 |
$term = taxonomy_term_load($this->argument); |
... | ... | |
23 | 23 |
return check_plain($term->name); |
24 | 24 |
} |
25 | 25 |
} |
26 |
// TODO review text
|
|
26 |
// @todo review text.
|
|
27 | 27 |
return t('No name'); |
28 | 28 |
} |
29 |
|
|
29 | 30 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules