Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/modules/user/views_handler_field_user_link_edit.inc | ||
---|---|---|
11 | 11 |
* @ingroup views_field_handlers |
12 | 12 |
*/ |
13 | 13 |
class views_handler_field_user_link_edit extends views_handler_field_user_link { |
14 |
function render_link($data, $values) { |
|
14 |
|
|
15 |
/** |
|
16 |
* {@inheritdoc} |
|
17 |
*/ |
|
18 |
public function render_link($data, $values) { |
|
15 | 19 |
// Build a pseudo account object to be able to check the access. |
16 | 20 |
$account = new stdClass(); |
17 | 21 |
$account->uid = $data; |
... | ... | |
27 | 31 |
return $text; |
28 | 32 |
} |
29 | 33 |
} |
34 |
|
|
30 | 35 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules