View Mode Switch
Categories
Component ID
2312801
Component name
View Mode Switch
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
A module that allows simple switching of view modes at the entity level.
It works by providing a view mode switcher (select list) of allowed View Modes per bundle. For example, as an admin I can allow a content type of 'article' to be switched between the View Modes: 'Basic' and 'Advanced'. These options are presented when editing the node, so Node #1 can be presented in Basic display and Node #2 in Advanced display
This module provides the following:
- Admin settings page to allow the entities available for View Mode Switching
- Node type settings to select allowed View Modes available on Node edit
- Programmatically created Switcher field, with default values
- View Mode Switcher as a select list on Node edit form
Todo:
- Write SimpleTest cases
- Provide further Entity type support: user, taxonomy, bean
