Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/content_types/comment/comment_links.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 | 3 |
/** |
4 |
* @file |
|
4 | 5 |
* Plugins are described by creating a $plugin array which will be used |
5 | 6 |
* by the system that includes this file. |
6 | 7 |
*/ |
8 |
|
|
7 | 9 |
$plugin = array( |
8 | 10 |
'single' => TRUE, |
9 | 11 |
'title' => t('Comment links'), |
... | ... | |
29 | 31 |
$comment = isset($context->data) ? clone $context->data : NULL; |
30 | 32 |
$block = new stdClass(); |
31 | 33 |
$block->module = 'comment'; |
32 |
$block->delta = $comment->cid;
|
|
34 |
$block->delta = $comment->cid; |
|
33 | 35 |
|
34 | 36 |
if (empty($comment)) { |
35 | 37 |
$block->delta = 'placeholder'; |
Formats disponibles : Unified diff
Weekly update of contrib modules