Closed (works as designed)
Project:
Display Suite
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2013 at 17:33 UTC
Updated:
13 Aug 2013 at 20:47 UTC
Is there a way to change the display modes of an entity- in my case user, based on the Author's (or User Profile) role?
So, bob is an admin- so he gets a three column layout.
Sam is a moderator, so he gets a two column layout.
Comments
Comment #1
aspilicious commentedThere's no direct UI for that, but there is hook_entity_view_mode_alter() see https://drupal.org/node/1833086
You can go totally nuts in there :)