Add "profile_route_context" context provider

Created on 2 February 2023, over 1 year 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.69.0 2024