You are here

function ds_views_row_render_users in Display Suite 7

Same name and namespace in other branches
  1. 7.2 views/views_plugin_ds_entity_view.inc \ds_views_row_render_users()

Render the user through the entity plugin.

File

views/views_plugin_ds_entity_view.inc, line 413
Provides the Display suite views entity style plugin.

Code

function ds_views_row_render_users($entity, $view_mode, $load_comments) {
  $element = user_view($entity, $view_mode);
  return drupal_render($element);
}