Support Brandfolder labels in Drupal media type config

Created on 15 May 2023, about 1 year ago
Updated 24 January 2024, 5 months ago

Problem/Motivation

Each Brandfolder-sourced media type can be configured so that only a certain subset of Brandfolder assets are eligible for use with that media type. Currently, we support inclusion and exclusion of any Collections and Sections. It would be nice to expand this to include Labels.

User interface changes

New "Labels" input on media type config forms, where applicable (do not show if no labels exist).

Remaining tasks

  • Decide how to handle nested/hierarchical labels
  • Update code
  • Test
✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ndewhurst USA

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

Comments & Activities

  • Issue created by @ndewhurst
  • πŸ‡ΊπŸ‡ΈUnited States ndewhurst USA
  • πŸ‡ΊπŸ‡ΈUnited States ndewhurst USA

    This feature is now available in the 4.x and 5.x versions!

    Label hierarchy is supported and handled as follows:

    • If an allowed label has other labels nested beneath it, then assets associated with any of the descendant labels will also be allowed (if not disallowed).
    • If a disallowed label has other labels nested beneath it, then assets associated with any of the descendant labels will also be disallowed.
    • If you wish to allow a label but not [all of] its descendants, you can select the applicable descendants in the Disallowed > Labels field.
  • Status changed to Fixed 6 months ago
  • πŸ‡ΊπŸ‡ΈUnited States ndewhurst USA
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024