You are here

function node_views_post_view in Views (for Drupal 7) 5

File

modules/views_node.inc, line 799

Code

function node_views_post_view($view, $items, $output) {
  foreach ($view->argument as $id => $argument) {
    if ($argument['type'] == 'node_feed') {
      $feed = $id;
      break;
    }
  }
  if ($feed !== NULL) {
    $additions = module_invoke_all('views_feed_argument', 'post_view', $view, $argument['type']);
    return implode(' ', $additions);
  }
}