function comment_load

Loads the entire comment by comment ID.

Parameters

int $cid: The ID of the comment to be loaded.

bool $reset: (optional) Whether to reset the internal static entity cache.

Return value

The comment object.

14 calls to comment_load()

File

drupal/core/modules/comment/comment.module, line 1343
Enables users to comment on published content.

Code

function comment_load($cid, $reset = FALSE) {
  return entity_load('comment', $cid, $reset);
}