Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/modules/node/views_handler_field_node_link_delete.inc | ||
---|---|---|
15 | 15 |
/** |
16 | 16 |
* Renders the link. |
17 | 17 |
*/ |
18 |
function render_link($node, $values) { |
|
18 |
public function render_link($node, $values) {
|
|
19 | 19 |
// Ensure user has access to delete this node. |
20 | 20 |
if (!node_access('delete', $node)) { |
21 | 21 |
return; |
... | ... | |
28 | 28 |
$text = !empty($this->options['text']) ? $this->options['text'] : t('delete'); |
29 | 29 |
return $text; |
30 | 30 |
} |
31 |
|
|
31 | 32 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules