Allow contexts to be alterd in hook_pathauto_pattern_alter

Created on 3 June 2021, over 3 years ago
Updated 5 August 2024, 3 months ago

Problem/Motivation

Modules can implement hook_pathauto_pattern_alter to alter a pathauto pattern. How ever, it is not possible to alter or add contexts that can be used in the token replacement.

Proposed resolution

Use the reference $context version of the token data $context['data'].

Feature request
Status

RTBC

Version

1.0

Component

Code

Created by

🇩🇪Germany Harlor Berlin

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024