You are here

function cdn_node_view_alter in CDN 7.2

Implements hook_node_view_alter().

File

./cdn.module, line 418

Code

function cdn_node_view_alter(&$build) {
  if (!cdn_status_is_enabled()) {
    return;
  }
  $build['#post_render'][] = 'cdn_post_render_html_alter';
}