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/<TYPE>/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

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

andy-blum created an issue. See original summary.

andy-blum’s picture

Issue summary: View changes
andy-blum’s picture

Issue summary: View changes

  • berdir committed 899dfbbd on 8.x-2.x authored by andy-blum
    [#3537944] feat: media_entity_download depends on core link module
    
    By:...
berdir’s picture

Status: Active » Fixed

Don't forget to set the issue status. Merged.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.