Restrict a directory (term) per media entity reference field

Created on 7 February 2023, almost 2 years ago
Updated 8 February 2023, almost 2 years ago

Is there any way to restrict a directory (term) per media entity reference field. For example, I have a media entity reference field called "Small image" and I want to save the uploaded image in a term called "Small images" and user cannot select different term while uploading. Thanks!

Feature request
Status

Closed: won't fix

Version

2.1

Component

Code

Created by

🇨🇦Canada mahde Vancouver

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

Comments & Activities

  • Issue created by @mahde
  • Status changed to Closed: won't fix almost 2 years ago
  • 🇨🇭Switzerland ytsurk Switzerland

    Hi

    the module does not support this.

    You need to hook the AddMedia form, and change the default value of the term reference field. And then you also want to disable it there.

Production build 0.71.5 2024