summaryrefslogtreecommitdiff
path: root/modules/comment/comment.api.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-23 15:30:34 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-23 15:30:34 +0000
commit435585012c75bd5073d36cf6e7500864c6332bf8 (patch)
treeecbe63762742194192f4fcb1cc4b3a6d1b629b95 /modules/comment/comment.api.php
parentf914aef21b8801bf9a81ca3a4cd69484e12198c2 (diff)
downloadbrdo-435585012c75bd5073d36cf6e7500864c6332bf8.tar.gz
brdo-435585012c75bd5073d36cf6e7500864c6332bf8.tar.bz2
#949576 by sun: Add missing hook_entity_view() and hook_entity_view_alter().
Diffstat (limited to 'modules/comment/comment.api.php')
-rw-r--r--modules/comment/comment.api.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/comment/comment.api.php b/modules/comment/comment.api.php
index d2b03911c..987d04673 100644
--- a/modules/comment/comment.api.php
+++ b/modules/comment/comment.api.php
@@ -68,6 +68,8 @@ function hook_comment_load($comments) {
* View mode, e.g. 'full', 'teaser'...
* @param $langcode
* The language code used for rendering.
+ *
+ * @see hook_entity_view()
*/
function hook_comment_view($comment, $view_mode, $langcode) {
// how old is the comment
@@ -90,6 +92,7 @@ function hook_comment_view($comment, $view_mode, $langcode) {
* A renderable array representing the comment.
*
* @see comment_view()
+ * @see hook_entity_view_alter()
*/
function hook_comment_view_alter(&$build) {
// Check for the existence of a field added by another module.