Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Context Profile Role

Security covered Maintenance fixes only 25 sites

Part of the Context ecosystem · 11 projects

This module adds a condition to the Context system that checks if a user's profile has specific roles assigned. This allows you to show different content on user profile pages based on the roles a user holds.

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.

Configuration

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

Drupal 11 · not 10

Ask your assistant about Context Profile Role

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jan 2024
Latest release
3 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.1 Stable 11 Jul 12, 2026
2.1.0 Stable 11 Dec 20, 2025
2.1.x-dev Dev 11 Dec 4, 2025
2.0.0 Stable 10–11 Jun 24, 2024
2.0.x-dev Dev 10–11 Jun 24, 2024
8.x-1.8 Stable 10–11 Jun 15, 2024
8.x-1.7 Stable 9–10 PHP 7.4 Jan 2, 2024