This module adds a new "Link" media type to your site. This allows you to manage links to internal or external web pages as if they were media assets, making them easily browsable in the media library and usable in views.
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.
Screenshots:
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 organisations
Pivale are a globally trusted web development company who build Drupal CMS websites and software.
Initial development by Axelerant
Ask your assistant about Media Entity Link
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- image Drupal core
- link Drupal core
- media Drupal core
- media_library Drupal core
- path Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.7 | Stable | 10–11 | May 21, 2026 | ||
| 2.0.6 | Stable | 10–11 | May 14, 2026 | ||
| 2.0.5 | Stable | 9–11 | Jun 27, 2025 | ||
| 2.0.4 | Stable | 9–11 | Apr 23, 2025 | ||
| 2.0.3 | Stable | 9–11 | Apr 22, 2025 | ||
| 2.0.x-dev | Dev | 10–11 | Apr 21, 2025 | ||
| 2.0.2 | Stable | 9–11 | Apr 21, 2025 | ||
| 2.0.1 | Stable | 9–10 | Nov 22, 2023 | ||
| 1.0.2 | Stable | 8–9 | Nov 22, 2023 |