rdf_comment_storage_load

function rdf_comment_storage_load

rdf_comment_storage_load($comments)

Implements hook_ENTITY_TYPE_storage_load() for comment entities.

File

core/modules/rdf/rdf.module, line 229
Enables semantically enriched output for Drupal sites in the form of RDFa.

Code

function rdf_comment_storage_load($comments) {
  foreach ($comments as $comment) {
    // Pages with many comments can show poor performance. This information
    // isn't needed until rdf_preprocess_comment() is called, but set it here
    // to optimize performance for websites that implement an enti