Add Media As Route Match

Created on 3 June 2021, over 3 years ago
Updated 24 October 2023, about 1 year ago

Problem/Motivation

Our site uses media as well as node so we need the ability to have term based off of a media entity.

Steps to reproduce

  • Have a taxonomy field on a media entity.
  • Have a context or block based off of a taxonomy term. On the /media/xxxx page it does not show the context/block.

Proposed resolution

Simple code fix on Term.php to add 'media' => 'media' as a route match.

Remaining tasks

I'm going to submit a patch for it.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States niles38

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

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