media_entity_download depends on core link module

Created on 24 July 2025, about 2 months ago

Problem/Motivation

This module uses code from the core link field, but does not declare that dependency in the .info.yml file.

Steps to reproduce

  1. Install a drupal site with the minimal profile
  2. require/install/configure media_entity_download
  3. navigate to /admin/structure/media/manage//display

Error: Class "Drupal\link\Plugin\Field\FieldFormatter\LinkFormatter" not found in include() (line 29 of /modules/contrib/media_entity_download/src/Plugin/Field/FieldFormatter/DownloadLinkFieldFormatter.php).

Proposed resolution

Add link module to dependency list

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andy-blum Ohio, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024