Entity view mode path
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Create additional paths for a given entity type and choose which view mode should be used for rendering. For instance, if you want to show the teaser of a node at a specific URL.
Requirements
Configuration
On the configuration page you can add as many path patterns as you desire, path patterns are based on the regular entity url's/aliases.
For instance, if you want to show the teaser at a specific URL. Go to your drupal admin -> "Configuration" -> "Search and metadata" -> "Entity view mode path". Here you can add a path pattern like /%/summary and select the view_mode teaser.
- If you have a content page which regular entity url/alias is "/my/great/page".
- You can now visit "/my/great/page/summary" which will render the teaser of that page.
The module configuration is exportable like you would expect.
