function ds_test_ds_views_row_render_entity in Display Suite 8.2
Same name and namespace in other branches
- 8.4 tests/modules/ds_test/ds_test.module \ds_test_ds_views_row_render_entity()
- 8.3 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 35 - Display Suite test module.
Code
function ds_test_ds_views_row_render_entity($entity, $view_mode) {
return 'Advanced display for id ' . $entity
->id();
}