Context profile role
Component ID
2413605
Component name
Context profile role
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
2232
Component created
Component changed
Component body
This module provides a new condition for context.
When viewing an user profile (view mode full), It allows you to check if the profile has one of the roles selected.
Use case: displaying different blocks on user profile based on their roles.
Requirements
Drupal 7: this module requires the following module:
- Context:
issue where I asked to merge with Context #2413615: Context profile role
Drupal 8: this module has no requirement.
Similar modules
- Context User Pages (D6):
issue where I asked to merge with Context User Pages #2481275: D7 version
Installation
- Drupal 7: install as you would normally install a contributed drupal module. See: https://www.drupal.org/docs/7/extending-drupal-7/installing-drupal-7-con... for further information.
- Drupal 8: install as you would normally install a contributed drupal module. See: https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod... for further information.
Configuration
Drupal 7: The module adds a new condition in the context UI.
Drupal 8: The module provides a new condition plugin so it is possible to add a new visibility condition on blocks placed using the native system or using the Context module.
Maintainers
Current maintainer:
