The Media Entity Link module provides a new media type and media source plugin called 'link'.
It allows for the creation of media which is a link to internal or external URLs and resources that can be browsed in the media library and included in any media views.
This can be useful if your website contains a resources section that needs to link to internal or external documentation which are web pages and not PDFs, for example.
This module is designed for Drupal 9+ and is ideal for site builders who need to include links to resources and other URLs using a media type.
Usage:
- Require the module into your project via Composer:
composer require drupal/media_entity_link. - Enable the module in the UI:
/admin/modules#module-media-entity-linkor via drush:drush en media_entity_link - Go to media types
/admin/structure/mediaand you will see a new media type called Link. - A default link field is automatically added with default field settings. You can now customise or add additional fields at
/admin/structure/media/manage/link/fields - You can now add media of type link in addition to the default media types such as image and video.
Supporting organizations:
Project information
- Project categories: Administration tools, Content editing experience, Media
891 sites report using this module
- Created by dishabhadra on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.







