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
- Install a drupal site with the minimal profile
- require/install/configure media_entity_download
- 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
Issue fork media_entity_download-3537944
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
Comment #2
andy-blumComment #3
andy-blumComment #6
berdirDon't forget to set the issue status. Merged.