You are here

function ds_test_ds_views_row_render_entity in Display Suite 8.3

Same name and namespace in other branches
  1. 8.4 tests/modules/ds_test/ds_test.module \ds_test_ds_views_row_render_entity()
  2. 8.2 tests/modules/ds_test/ds_test.module \ds_test_ds_views_row_render_entity()

Helper function to return advanced view mode.

File

tests/modules/ds_test/ds_test.module, line 36
Display Suite test module.

Code

function ds_test_ds_views_row_render_entity($entity, $view_mode) {
  return 'Advanced display for id ' . $entity
    ->id();
}