Skip to content

Media Library Form API Element and Drupal 11

Ready

The latest stable release, 2.1.5, declares a core version requirement of ^10.3 || ^11.2 || ^12, which covers Drupal 11.

This module provides a Form API element to select a Media entity from the Media Library. This element can be used in all standalone forms. I'm currently using this in a Paragraphs behavior form to select a background image with crop-support, but you can use it in a Layout builder form, or a configuration form under "Settings"...

Key facts

Project
media_library_form_element
Latest stable with Drupal 11 support
2.1.5 (7 Aug 2026)
Core version requirement
^10.3 || ^11.2 || ^12
Maintenance status
Actively maintained
Reported installs
43,219
Last synced from drupal.org
21 Sept 2026

Every field above comes from the drupal.org API. The Drupal 11 status is derived from the core version requirement across this project's releases.

Source: drupal.org/project/media_library_form_element