You are here

function entitycache_entitycache_comment_load in Entity cache 7

Implements hook_entitycache_ENTITY_TYPE_load().

File

./entitycache.module, line 182
Allows for caching of core entities.

Code

function entitycache_entitycache_comment_load($comments) {
  foreach ($comments as $comment) {
    $comment->new = $comment->new = node_mark($comment->nid, $comment->changed);
  }
}