Restrict a directory (term) per media entity reference field

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