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:

Drupal 8: this module has no requirement.

Similar modules

Installation

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: