Media Entity Link graphic featuring a multimedia icon and a large link icon.

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:

Media type link in the Drupal admin interface.

Usage:

  1. Require the module into your project via Composer: composer require drupal/media_entity_link.
  2. Enable the module in the UI: /admin/modules#module-media-entity-link or via drush: drush en media_entity_link
  3. Go to media types /admin/structure/media and you will see a new media type called Link.
  4. 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
  5. You can now add media of type link in addition to the default media types such as image and video.

Supporting organisations

Pivale logo

Pivale are a globally trusted web development company who build Drupal CMS websites and software.

Axelerant logo

Initial development by Axelerant

Supporting organizations: 
Initial development
Ongoing development and support
Maintenance & Support

Project information

Releases