Loads comment entities from the database.
array $cids: (optional) An array of entity IDs. If omitted, all entities are loaded.
bool $reset: Whether to reset the internal static entity cache. Note that the static cache is disabled in comment_entity_info() by default.
array An array of comment objects, indexed by comment ID.
Drupal\Core\Entity\Query\QueryInterface
function comment_load_multiple(array $cids = NULL, $reset = FALSE) {
return entity_load_multiple('comment', $cids, $reset);
}