You are here

function simplenews_statistics_embed_view in Simplenews Statistics 7

Same name and namespace in other branches
  1. 7.2 includes/simplenews_statistics.pages.inc \simplenews_statistics_embed_view()

Page callback to render a view with contextual links.

1 string reference to 'simplenews_statistics_embed_view'
simplenews_statistics_menu in ./simplenews_statistics.module
Implements hook_menu().

File

includes/simplenews_statistics.pages.inc, line 158
Contains page function for simplenews statistics.

Code

function simplenews_statistics_embed_view($view_name, $display_id) {
  $view = views_embed_view($view_name);
  return render($view);
}