There is no field 'linked_media_library'

Created on 20 August 2025, about 1 month ago

Problem/Motivation

The readme says

"Configure the form display. There are 2 widgets provided:
Autocomplete: Supported when referencing all entity types.
Media library: Supported when referencing media entities

There is no field 'linked_media_library'.

Steps to reproduce

Install the module, link to a media field.

Proposed resolution

Develop the field and corresponding widget.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia interlated

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

Merge Requests

Comments & Activities

  • Issue created by @interlated
  • 🇪🇸Spain tunic Madrid

    There is no field 'linked_media_library'.

    I 'm not sure what this means. If you mean that you expect the module to create a linked_media_library field, that is not the case for this module. The user should create the field as needed. The module just provides the widgets and behaviour so it can be added to a field.

    If this is not what you meant I would need more info to fully understand the problem.

  • 🇦🇺Australia interlated

    There is a field type with id = "linked_entity_reference",

    There is none for "linked_media_library".

    I can't create a new field of the type linked_media_library as described in the notes.

  • 🇪🇸Spain tunic Madrid

    Ok, I see the problem. During 📌 Drupal 10 compatibility fixes Fixed the linked_media_library widget was changed: the field type it can be applied to changed from linked_entity_reference to linked_media_library. This was to solve an error apparently due to Drupal 10 compatibility, although it was just because Media Library module was not enabled. Changing the field type to something non-existent "solved" the issue because the widget was not processed anymore.

    The problem should be solved removing the widget if the Media Library module is not found.

  • Merge request !5Fix Media Widget → (Merged) created by tunic
  • 🇪🇸Spain tunic Madrid

    I think is fixed, can you try the dev version with the fix?

  • 🇪🇸Spain tunic Madrid
Production build 0.71.5 2024