Révision 503b3f7b
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/entity/modules/comment.info.inc | ||
---|---|---|
137 | 137 |
'setter permission' => 'administer comments', |
138 | 138 |
'type' => 'integer', |
139 | 139 |
); |
140 |
$properties['comments'] = array( |
|
141 |
'label' => t("Comments"), |
|
142 |
'type' => 'list<comment>', |
|
143 |
'description' => t("The node comments."), |
|
144 |
'getter callback' => 'entity_metadata_comment_get_node_properties', |
|
145 |
'computed' => TRUE, |
|
146 |
); |
|
140 | 147 |
$properties['comment_count'] = array( |
141 | 148 |
'label' => t("Comment count"), |
142 | 149 |
'description' => t("The number of comments posted on a node."), |
Formats disponibles : Unified diff
Weekly update of contrib modules