Add "profile_route_context" context provider

Created on 2 February 2023, almost 2 years ago

Problem/Motivation

We have public profile pages and I've created a block that wants to pull in the profile context for particular imagery to appear.

Steps to reproduce

Try adding a ContextDefinition to a block for profile and it does not exist:

"profile" = @ContextDefinition("entity:profile", required = FALSE, label = @Translation("Profile")),

Proposed resolution

Add a context provider for profile based on the route like nodes/taxonomy terms do.

Remaining tasks

- Add the context provider
- Add block placement tests

📌 Task
Status

Needs work

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom littlepixiez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024